Borderou de evaluare (job #31615)

Utilizator goguGogu Marian gogu Data 16 martie 2007 12:31:08
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: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
10ms272kbOK10
20ms288kbOK10
34ms360kbOK10
436ms1056kbOK10
536ms1060kbOK10
644ms1060kbOK10
7Depăşit848kbTime limit exceeded.0
81300ms1056kbOK10
9Depăşit988kbTime limit exceeded.0
10Depăşit932kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?