Borderou de evaluare (job #1247683)

Utilizator binicBinica Nicolae binic Data 23 octombrie 2014 12:33:19
Problema Joc10 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:8:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d %d",&n,&m); ^ user.cpp:8:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:13:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d",&x); ^ user.cpp:6:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("joc10.in","r",stdin); ^ user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("joc10.out","w",stdout); ^ user.cpp:8:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&m); ^ user.cpp:13:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit220kbTime limit exceeded.0
2Depăşit216kbTime limit exceeded.0
3Depăşit224kbTime limit exceeded.0
4Depăşit220kbTime limit exceeded.0
5Depăşit216kbTime limit exceeded.0
6Depăşit216kbTime limit exceeded.0
7Depăşit220kbTime limit exceeded.0
8Depăşit224kbTime limit exceeded.0
9Depăşit216kbTime limit exceeded.0
10Depăşit216kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?