Borderou de evaluare (job #1450172)

Utilizator buggy113Avram Constantin Dan buggy113 Data 11 iunie 2015 19:13:53
Problema Bifo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘char* oare(long int)’: user.cpp:36:17: warning: statement has no effect [-Wunused-value] pus[nmax - 1] == true; ^ user.cpp: In function ‘int main()’: user.cpp:87:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f,"%d", &car[i]); ^ user.cpp:78:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%s", str1); ^ user.cpp:79:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%s", str2); ^ user.cpp:80:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%ld", &M); ^ user.cpp:87:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d", &car[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms336kbKilled by signal 11(SIGSEGV).0
20ms264kbKilled by signal 11(SIGSEGV).0
3Depăşit1648kbTime limit exceeded.0
4Depăşit2872kbTime limit exceeded.0
5Depăşit2652kbTime limit exceeded.0
6Depăşit50340kbTime limit exceeded.0
7Depăşit50720kbTime limit exceeded.0
8Depăşit51272kbTime limit exceeded.0
9Depăşit49764kbTime limit exceeded.0
100ms264kbOK10
Punctaj total10

Ceva nu functioneaza?