Borderou de evaluare (job #30418)

Utilizator goguGogu Marian gogu Data 13 martie 2007 22:20:09
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
10ms272kbOK10
20ms284kbOK10
34ms356kbOK10
436ms1056kbOK10
536ms1056kbOK10
648ms1048kbOK10
7Depăşit824kbTime limit exceeded.0
81824ms1052kbOK10
9Depăşit948kbTime limit exceeded.0
10Depăşit912kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?