Borderou de evaluare (job #1749996)

Utilizator giotoPopescu Ioan gioto Data 29 august 2016 14:04:03
Problema Banda 1 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=] scanf("%d", &a[i][j]); ^ user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("banda1.in", "r", stdin); ^ user.cpp:10:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("banda1.out", "w", stdout); ^ user.cpp:11:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:14:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms284kbOK10
20ms304kbIncorect0
34ms468kbOK10
444msDepăşitMemory limit exceeded.0
588msDepăşitMemory limit exceeded.0
680msDepăşitMemory limit exceeded.0
760msDepăşitMemory limit exceeded.0
860msDepăşitMemory limit exceeded.0
980msDepăşitMemory limit exceeded.0
100ms280kbOK10
Punctaj total30

Ceva nu functioneaza?