Borderou de evaluare (job #2146610)

Utilizator lonca.sorinLonca Sorin lonca.sorin Data 28 februarie 2018 08:40:31
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:77:12: warning: unused variable ‘s1’ [-Wunused-variable] int n, s1, j, ok = 1; ^ user.cpp:77:16: warning: unused variable ‘j’ [-Wunused-variable] int n, s1, j, ok = 1; ^ user.cpp:80: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:83: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:87: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
20ms1512kbOK!10
30ms1440kbKilled by signal 11(SIGSEGV).0
40ms1436kbKilled by signal 11(SIGSEGV).0
50ms1440kbKilled by signal 11(SIGSEGV).0
60ms1440kbKilled by signal 11(SIGSEGV).0
70ms1440kbKilled by signal 11(SIGSEGV).0
80ms1444kbKilled by signal 11(SIGSEGV).0
90ms1436kbKilled by signal 11(SIGSEGV).0
10Depăşit1452kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?