Borderou de evaluare (job #1381734)

Utilizator DanielRusuDaniel Rusu DanielRusu Data 8 martie 2015 13:04:54
Problema Drum6 Status done
Runda Algoritmiada 2015 - Runda 2, Juniori Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:19:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[2003]’ [-Wformat=] fscanf(fin, "%s\n", &sir); ^ user.cpp:31:33: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[2003]’ [-Wformat=] fscanf(fin, "%s\n", &sir); ^ user.cpp:17:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d %d\n", &N, &M); ^ user.cpp:19:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%s\n", &sir); ^ user.cpp:31:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%s\n", &sir); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms280kbOK1020
20ms284kbOK10
34ms456kbOK1030
44ms456kbOK10
54ms460kbOK10
6Depăşit1216kbTime limit exceeded.00
7Depăşit2192kbTime limit exceeded.00
8Depăşit2200kbTime limit exceeded.0
9Depăşit2196kbTime limit exceeded.00
10Depăşit2192kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?