Borderou de evaluare (job #31611)

Utilizator goguGogu Marian gogu Data 16 martie 2007 12:26:05
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
320ms376kbOK10
41812ms1072kbOK10
51828ms1076kbOK10
61980ms1080kbOK10
7Depăşit808kbTime limit exceeded.0
8Depăşit904kbTime limit exceeded.0
9Depăşit896kbTime limit exceeded.0
10Depăşit840kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?