Borderou de evaluare (job #1577590)

Utilizator killer301Ioan Andrei Nicolae killer301 Data 23 ianuarie 2016 16:22:31
Problema Complet Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:107:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] for(int i=0; i<3; i++)scanf("%d", &q[i].t); ^ user.cpp:91:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("complet.in", "r", stdin); ^ user.cpp:92:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("complet.out", "w", stdout); ^ user.cpp:94:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &Q); ^ user.cpp:97:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i]); ^ user.cpp:106:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &x, &y, &z); ^ user.cpp:107:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i=0; i<3; i++)scanf("%d", &q[i].t); ^ user.cpp:108:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i=0; i<3; i++)scanf("%d", &q[i].p); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbOK10
28ms280kbOK10
316ms336kbOK10
420ms360kbOK10
5152ms456kbOK10
6Depăşit504kbTime limit exceeded.0
7Depăşit564kbTime limit exceeded.0
8Depăşit604kbTime limit exceeded.0
9Depăşit636kbTime limit exceeded.0
10Depăşit640kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?