Borderou de evaluare (job #1702024)

Utilizator cristina_borzaCristina Borza cristina_borza Data 14 mai 2016 13:56:07
Problema Interesant Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 68

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d %d" , &type , &n); ^ user.cpp:18:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:20:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[5005]’ [-Wformat=] scanf("%s" , &sir[i]); ^ user.cpp:25:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(strlen(sir[i]) > mx) { ^ user.cpp:31:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(strlen(sir[i]) == mx) { ^ user.cpp:15:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("interesant.in" , "r" , stdin); ^ user.cpp:16:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("interesant.out" , "w" , stdout); ^ user.cpp:18:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d" , &type , &n); ^ user.cpp:20:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s" , &sir[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1152ms1068kbIncorect.00
2224ms1224kbIncorect.0
30ms396kbIncorect.0
428ms916kbIncorect.0
50ms352kbOK.33
648ms1084kbOK.33
70ms312kbOK.33
864ms784kbOK.33
9668ms1240kbOK.44
10184ms1240kbOK.44
11540ms1124kbOK.44
12244ms1196kbOK.44
13268ms1216kbOK.44
14196ms1248kbOK.55
15240ms1248kbOK.55
16540ms1244kbOK.55
17404ms1228kbOK.55
18260ms1248kbOK.55
19288ms1244kbOK.55
20Depăşit1252kbTime limit exceeded.00
21Depăşit1228kbTime limit exceeded.00
22332ms1248kbOK.66
Punctaj total68

Ceva nu functioneaza?