Borderou de evaluare (job #1196851)

Utilizator tudormaximTudor Maxim tudormaxim Data 9 iunie 2014 13:38:33
Problema Permutari 3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld",&v[i]); ^ user.cpp:15:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld",&p[i]); ^ user.cpp:25:24: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%ld\n",perm); ^ user.cpp:9:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("perm3.in","r",stdin); ^ 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("perm3.out","w",stdout); ^ user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:13:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&v[i]); ^ user.cpp:15:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&p[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbOK!10
20ms264kbOK!10
3Depăşit244kbTime limit exceeded.0
4Depăşit240kbTime limit exceeded.0
5Depăşit236kbTime limit exceeded.0
6Depăşit236kbTime limit exceeded.0
7Depăşit236kbTime limit exceeded.0
8Depăşit240kbTime limit exceeded.0
9Depăşit240kbTime limit exceeded.0
10Depăşit236kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?