Borderou de evaluare (job #1491933)

Utilizator mr.koboldKo Bold mr.kobold Data 26 septembrie 2015 16:57:28
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:25:28: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long int’ [-Wformat=] fscanf(input, "%ld", a[i]); ^ user.cpp:28:28: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long int’ [-Wformat=] fscanf(input, "%ld", b[i]); ^ user.cpp:18:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(input, "%ld %ld", &n, &m); ^ user.cpp:25:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(input, "%ld", a[i]); ^ user.cpp:28:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(input, "%ld", b[i]); ^ user.cpp:31:20: warning: ‘base_b’ may be used uninitialized in this function [-Wmaybe-uninitialized] while (base_a < n && base_b < m) ^ user.cpp:31:2: warning: ‘base_a’ may be used uninitialized in this function [-Wmaybe-uninitialized] while (base_a < n && base_b < m) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms228kbKilled by signal 11(SIGSEGV).0
20ms228kbKilled by signal 11(SIGSEGV).0
30ms228kbKilled by signal 11(SIGSEGV).0
40ms232kbKilled by signal 11(SIGSEGV).0
50ms232kbKilled by signal 11(SIGSEGV).0
60ms240kbKilled by signal 11(SIGSEGV).0
70ms240kbKilled by signal 11(SIGSEGV).0
80ms244kbKilled by signal 11(SIGSEGV).0
90ms248kbKilled by signal 11(SIGSEGV).0
100ms248kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?