Borderou de evaluare (job #1194488)

Utilizator tudormaximTudor Maxim tudormaxim Data 3 iunie 2014 22:55:29
Problema Inundatie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:30:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld",&a[i][j]); ^ user.cpp:38:24: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld",&eq); ^ user.cpp:46:27: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%ld\n",sol); ^ user.cpp:23:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("inundatie.in","r",stdin); ^ user.cpp:24:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("inundatie.out","w",stdout); ^ user.cpp:25:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:30:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&a[i][j]); ^ user.cpp:35:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&Q); ^ user.cpp:38:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&eq); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms296kbOK10
24ms412kbOK10
3140ms592kbIncorect0
4Depăşit800kbTime limit exceeded.0
5Depăşit920kbTime limit exceeded.0
6Depăşit1052kbTime limit exceeded.0
7Depăşit1352kbTime limit exceeded.0
8Depăşit1504kbTime limit exceeded.0
9368ms1680kbIncorect0
100ms284kbOK10
Punctaj total30

Ceva nu functioneaza?