Borderou de evaluare (job #1070611)

Utilizator omerOmer Cerrahoglu omer Data 1 ianuarie 2014 17:46:59
Problema Densitate Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:11:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘int’ [-Wformat=] fscanf(f,"%d%d",N,Q); ^ user.cpp:11:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘int’ [-Wformat=] user.cpp:23:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘int’ [-Wformat=] fscanf(f,"%d%d",a,b); ^ user.cpp:23:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘int’ [-Wformat=] user.cpp:11:25: warning: ‘N’ is used uninitialized in this function [-Wuninitialized] fscanf(f,"%d%d",N,Q); ^ user.cpp:11:25: warning: ‘Q’ is used uninitialized in this function [-Wuninitialized] user.cpp:23:33: warning: ‘a’ may be used uninitialized in this function [-Wmaybe-uninitialized] fscanf(f,"%d%d",a,b); ^ user.cpp:23:33: warning: ‘b’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms360kbKilled by signal 11(SIGSEGV).0
20ms364kbKilled by signal 11(SIGSEGV).0
30ms364kbKilled by signal 11(SIGSEGV).0
40ms360kbKilled by signal 11(SIGSEGV).0
50ms364kbKilled by signal 11(SIGSEGV).0
60ms360kbKilled by signal 11(SIGSEGV).0
70ms368kbKilled by signal 11(SIGSEGV).0
80ms364kbKilled by signal 11(SIGSEGV).0
90ms364kbKilled by signal 11(SIGSEGV).0
100ms360kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?