Borderou de evaluare (job #31613)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:23: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:23:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:20:13: warning: unused variable ‘k’ [-Wunused-variable] int i,j,k; ^ user.cpp:17: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:18: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:19: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:23: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
10ms296kbOK10
20ms308kbOK10
316ms376kbOK10
41788ms1072kbOK10
51788ms1080kbOK10
61796ms1076kbOK10
7Depăşit864kbTime limit exceeded.0
8Depăşit984kbTime limit exceeded.0
9Depăşit948kbTime limit exceeded.0
10Depăşit900kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?