Borderou de evaluare (job #2644021)

Utilizator dream3rDavid Pop dream3r Data 22 august 2020 21:33:40
Problema Subsecvente2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 95

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:71:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (size_t i = 1; i <= n; i++) ~~^~~~ main.cpp:73:24: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[50005]' [-Wformat=] fscanf(f, "%s", &word); ^ main.cpp:75:23: warning: NULL used in arithmetic [-Wpointer-arith] while (word[cnt] != NULL) ^~~~ main.cpp:68:21: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &n); ^ main.cpp:73:25: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%s", &word); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbIncorect0
22ms131kbOK5
32ms131kbOK5
43ms131kbOK5
53ms131kbOK5
63ms262kbOK5
711ms2228kbOK5
812ms2359kbOK5
98ms1441kbOK5
1010ms1966kbOK5
1110ms2097kbOK5
1215ms3145kbOK5
1337ms8126kbOK5
1426ms5767kbOK5
1529ms6422kbOK5
1625ms5505kbOK5
1793ms19529kbOK5
18129ms31457kbOK5
19122ms25821kbOK5
20166ms38273kbOK5
Punctaj total95

Ceva nu functioneaza?