Borderou de evaluare (job #1266150)

Utilizator ZeBuGgErCasapu Andreas ZeBuGgEr Data 18 noiembrie 2014 13:02:22
Problema Procesor Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(fin,"%d",&n); ^ user.cpp:18:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(fin,"%d",&a[i][0]); ^ user.cpp:19:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(fin,"%d",&a[i][1]); ^ user.cpp:44:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(fout,"%d",left); ^ user.cpp:12:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&n); ^ user.cpp:18:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&a[i][0]); ^ user.cpp:19:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&a[i][1]); ^ user.cpp:42:21: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized] a[pos][1]=-1; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms232kbKilled by signal 11(SIGSEGV).0
20ms252kbIncorect0
30ms232kbKilled by signal 11(SIGSEGV).0
40ms240kbKilled by signal 11(SIGSEGV).0
50ms244kbKilled by signal 11(SIGSEGV).0
64ms320kbKilled by signal 11(SIGSEGV).0
716ms496kbKilled by signal 11(SIGSEGV).0
832ms672kbKilled by signal 11(SIGSEGV).0
960ms936kbKilled by signal 11(SIGSEGV).0
1056ms1108kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?