Borderou de evaluare (job #1253648)

Utilizator tudormaximTudor Maxim tudormaxim Data 1 noiembrie 2014 16:28:52
Problema Calcul Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:38: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[200111]’ [-Wformat=] scanf("%s %s %d", &str, &str2, &c); ^ user.cpp:13:38: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[200111]’ [-Wformat=] user.cpp:15:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<strlen(str); ++i) ^ user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("calcul.in", "r", stdin); ^ user.cpp:12:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("calcul.out", "w", stdout); ^ user.cpp:13:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s %s %d", &str, &str2, &c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms420kbOK5
20ms416kbOK5
30ms420kbOK5
40ms420kbOK5
50ms444kbOK5
60ms428kbOK5
748ms444kbOK5
84ms440kbOK5
9Depăşit500kbTime limit exceeded.0
10Depăşit468kbTime limit exceeded.0
1120ms448kbOK5
120ms436kbOK5
13Depăşit508kbTime limit exceeded.0
14Depăşit488kbTime limit exceeded.0
1520ms596kbOK5
16388ms720kbOK5
17Depăşit468kbTime limit exceeded.0
18Depăşit492kbTime limit exceeded.0
19Depăşit556kbTime limit exceeded.0
20Depăşit548kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?