Borderou de evaluare (job #1786080)

Utilizator giotoPopescu Ioan gioto Data 22 octombrie 2016 12:54:12
Problema Permutari 3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int Solve(int, int)’: user.cpp:34:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:54:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d", Sol[Sol[0]]); ^ user.cpp:60:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d", Sol[i]); ^ user.cpp:37:36: 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:38:38: 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:39:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:41:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &c[i]); ^ user.cpp:44:24: 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
10ms260kbOK!10
20ms264kbOK!10
3Depăşit244kbTime limit exceeded.0
4Depăşit240kbTime limit exceeded.0
5Depăşit244kbTime limit exceeded.0
616ms268kbOK!10
7Depăşit248kbTime limit exceeded.0
8Depăşit244kbTime limit exceeded.0
94ms260kbOK!10
10Depăşit240kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?