Borderou de evaluare (job #1630857)

Utilizator isa_fares_mudiFares Mohamad isa_fares_mudi Data 5 martie 2016 11:42:59
Problema Figuri2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:36:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=] scanf ( "%1d",&a[i][j] ); ^ user.cpp:30:39: 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:31:41: 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:33:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ( "%d",&n ); ^ user.cpp:36:28: 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
1Depăşit268kbTime limit exceeded.0
2Depăşit276kbTime limit exceeded.0
3Depăşit280kbTime limit exceeded.0
4Depăşit288kbTime limit exceeded.0
5Depăşit288kbTime limit exceeded.0
6Depăşit288kbTime limit exceeded.0
7Depăşit296kbTime limit exceeded.0
8Depăşit300kbTime limit exceeded.0
9Depăşit296kbTime limit exceeded.0
10Depăşit304kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?