Borderou de evaluare (job #1569590)

Utilizator AlexSauleaAlessandro Valentino Saulea AlexSaulea Data 15 ianuarie 2016 19:15:27
Problema Cool Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:24:42: warning: format ‘%n’ expects argument of type ‘int*’, but argument 3 has type ‘int’ [-Wformat=] if (c==k-1) fprintf (g, "%n", a[k]); ^ user.cpp:30:31: warning: format ‘%n’ expects argument of type ‘int*’, but argument 3 has type ‘int’ [-Wformat=] fprintf (g, "%n", c); ^ user.cpp:58:37: warning: format ‘%n’ expects argument of type ‘int*’, but argument 3 has type ‘int’ [-Wformat=] fprintf (g, "%n\n%n", lmax,nr); ^ user.cpp:58:37: warning: format ‘%n’ expects argument of type ‘int*’, but argument 4 has type ‘int’ [-Wformat=] user.cpp:14:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%n%n%n", &p,&n,&k); ^ user.cpp:16:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%n", &a[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms372kbKilled by signal 11(SIGSEGV).0
20ms380kbKilled by signal 11(SIGSEGV).0
30ms376kbKilled by signal 11(SIGSEGV).0
40ms376kbKilled by signal 11(SIGSEGV).0
50ms372kbKilled by signal 11(SIGSEGV).0
60ms380kbKilled by signal 11(SIGSEGV).0
70ms376kbKilled by signal 11(SIGSEGV).0
80ms380kbKilled by signal 11(SIGSEGV).0
90ms376kbKilled by signal 11(SIGSEGV).0
100ms376kbKilled by signal 11(SIGSEGV).0
110ms376kbKilled by signal 11(SIGSEGV).0
120ms376kbKilled by signal 11(SIGSEGV).0
130ms372kbKilled by signal 11(SIGSEGV).0
140ms372kbKilled by signal 11(SIGSEGV).0
150ms376kbKilled by signal 11(SIGSEGV).0
160ms376kbKilled by signal 11(SIGSEGV).0
170ms380kbKilled by signal 11(SIGSEGV).0
180ms376kbKilled by signal 11(SIGSEGV).0
190ms376kbKilled by signal 11(SIGSEGV).0
200ms376kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?