Borderou de evaluare (job #31600)

Utilizator goguGogu Marian gogu Data 16 martie 2007 12:12:49
Problema Bcrc Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:22:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] scanf("%d %d %d", t+i, c+i, a+i), --c[i]; ^ user.cpp:22:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:19:13: warning: unused variable ‘k’ [-Wunused-variable] int i,j,k; ^ user.cpp:16:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bcrc.in", "r", stdin); ^ user.cpp:17:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bcrc.out", "w", stdout); ^ user.cpp:18:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ user.cpp:22:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", t+i, c+i, a+i), --c[i]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms280kbOK10
20ms296kbOK10
34ms364kbOK10
436ms1060kbOK10
536ms1056kbOK10
648ms1056kbOK10
7Depăşit832kbTime limit exceeded.0
81676ms1056kbOK10
9Depăşit968kbTime limit exceeded.0
10Depăşit916kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?