Borderou de evaluare (job #2644022)

Utilizator dream3rDavid Pop dream3r Data 22 august 2020 21:55:55
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:74:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (size_t i = 1; i <= n; i++) ~~^~~~ main.cpp:76:24: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[50005]' [-Wformat=] fscanf(f, "%s", &word); ^ main.cpp:78:23: warning: NULL used in arithmetic [-Wpointer-arith] while (word[cnt] != NULL) ^~~~ main.cpp:72: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:76: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
13ms131kbIncorect0
22ms131kbOK5
33ms131kbOK5
43ms131kbOK5
53ms131kbOK5
63ms131kbOK5
711ms2228kbOK5
812ms2359kbOK5
98ms1441kbOK5
1010ms1966kbOK5
1110ms2097kbOK5
1215ms3145kbOK5
1336ms8126kbOK5
1426ms5767kbOK5
1529ms6422kbOK5
1626ms5505kbOK5
1793ms19660kbOK5
18131ms31457kbOK5
19111ms25821kbOK5
20156ms38141kbOK5
Punctaj total95

Ceva nu functioneaza?