Borderou de evaluare (job #1327866)

Utilizator waskaalphaAlexandru Iercosan waskaalpha Data 27 ianuarie 2015 12:09:01
Problema Cautare binara Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:79:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(file, "%ld ", &lng); ^ user.cpp:82:34: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(file, "%ld ", &vector[i]); ^ user.cpp:84:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(file, "%ld ", &questions); ^ user.cpp:86:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(file, "%ld ", &ID); ^ user.cpp:91:32: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(file, "%ld ", &target); ^ user.cpp:97:40: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] fprintf(out, "%ld\r\n", response + 1); ^ user.cpp:100:32: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(file, "%ld ", &target); ^ user.cpp:106:40: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] fprintf(out, "%ld\r\n", response + 1); ^ user.cpp:110:40: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] fprintf(out, "%ld\r\n", response + 1); ^ user.cpp:78:7: warning: unused variable ‘found’ [-Wunused-variable] bool found = 0; ^ user.cpp:79:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(file, "%ld ", &lng); ^ user.cpp:82:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(file, "%ld ", &vector[i]); ^ user.cpp:84:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(file, "%ld ", &questions); ^ user.cpp:86:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(file, "%ld ", &ID); ^ user.cpp:91:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(file, "%ld ", &target); ^ user.cpp:100:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(file, "%ld ", &target); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit244kbTime limit exceeded.00
20ms248kbIncorect00
3Depăşit244kbTime limit exceeded.00
40ms252kbIncorect00
5Depăşit284kbTime limit exceeded.00
660ms444kbIncorect0
728ms612kbKilled by signal 11(SIGSEGV).00
828ms620kbKilled by signal 11(SIGSEGV).0
932ms612kbKilled by signal 11(SIGSEGV).0
1032ms612kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?