Borderou de evaluare (job #1193817)

Utilizator tudormaximTudor Maxim tudormaxim Data 1 iunie 2014 22:58:28
Problema Bancomat Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:46:34: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld",&sume[i]); ^ user.cpp:32:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bancomat.in","r",stdin); ^ user.cpp:33:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bancomat.out","w",stdout); ^ user.cpp:35:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.cpp:44:77: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d%d%d%d",&nr[1],&nr[2],&nr[3],&nr[4],&nr[5],&nr[6],&n); ^ user.cpp:46:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&sume[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit268kbTime limit exceeded.00
2Depăşit272kbTime limit exceeded.0
3Depăşit268kbTime limit exceeded.0
4Depăşit268kbTime limit exceeded.0
5Depăşit268kbTime limit exceeded.0
6Depăşit272kbTime limit exceeded.0
7Depăşit268kbTime limit exceeded.0
8Depăşit264kbTime limit exceeded.0
9Depăşit268kbTime limit exceeded.0
10Depăşit268kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?