Borderou de evaluare (job #1243344)

Utilizator paunmatei7FMI Paun Matei paunmatei7 Data 15 octombrie 2014 20:26:43
Problema Electrica Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:33: warning: format ‘%c’ expects argument of type ‘char*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%c", &a[i][j]); ^ user.cpp:11:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("electrica.in", "r", stdin); ^ user.cpp:12:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("electrica.out", "w", stdout); ^ user.cpp:13:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d\n", &n, &m, &l); ^ user.cpp:16:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &a[i][j]); ^ user.cpp:14:5: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i = 1; i <= n; ++i, scanf("\n")) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms272kbIncorect00
20ms272kbOK10
30ms452kbOK1010
40ms536kbOK1010
5Depăşit1720kbTime limit exceeded.00
6Depăşit1892kbTime limit exceeded.00
7Depăşit4168kbTime limit exceeded.00
8Depăşit4168kbTime limit exceeded.00
9Depăşit4164kbTime limit exceeded.00
10Depăşit4168kbTime limit exceeded.00
Punctaj total20

Ceva nu functioneaza?