Borderou de evaluare (job #1630908)

Utilizator MateiVMatei Vlad MateiV Data 5 martie 2016 11:58:14
Problema Figuri2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=] scanf("%1d",&a[i][j]); ^ user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("figuri2.in","r",stdin); ^ user.cpp:11:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("figuri2.out","w",stdout); ^ user.cpp:13:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:16:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%1d",&a[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
116ms300kbOK10
2Depăşit316kbTime limit exceeded.0
3Depăşit320kbTime limit exceeded.0
4Depăşit320kbTime limit exceeded.0
5Depăşit308kbTime limit exceeded.0
6Depăşit304kbTime limit exceeded.0
7Depăşit312kbTime limit exceeded.0
8Depăşit332kbTime limit exceeded.0
9Depăşit316kbTime limit exceeded.0
10Depăşit316kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?