Borderou de evaluare (job #2147240)

Utilizator lonca.sorin01Lonca Sorin lonca.sorin01 Data 28 februarie 2018 16:25:29
Problema Permutari 3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:91:12: warning: unused variable ‘s1’ [-Wunused-variable] int n, s1, j, ok = 1, poz; ^ user.cpp:91:16: warning: unused variable ‘j’ [-Wunused-variable] int n, s1, j, ok = 1, poz; ^ user.cpp: In function ‘int find(int*, int, int, int)’: user.cpp:87:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:94:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%i", &n); ^ user.cpp:97:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%i", &x[i]); ^ user.cpp:100:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%i", &perm[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1516kbWrong answer!0
20ms1516kbOK!10
3Depăşit1460kbTime limit exceeded.0
4Depăşit1460kbTime limit exceeded.0
5Depăşit1456kbTime limit exceeded.0
68ms1520kbWrong answer!0
7Depăşit1460kbTime limit exceeded.0
8Depăşit1456kbTime limit exceeded.0
94ms1520kbWrong answer!0
10Depăşit1456kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?