Borderou de evaluare (job #1791323)

Utilizator mateibanuBanu Matei Costin mateibanu Data 29 octombrie 2016 11:36:07
Problema Charlie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:35:28: warning: format ‘%c’ expects argument of type ‘char*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(f,"%c",&v[2]);v[1]=a; ^ user.cpp:14:16: warning: unused variable ‘n’ [-Wunused-variable] int p,ok=1,n,i; ^ user.cpp:16:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d\n%c",&p,&a); ^ user.cpp:22:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%c",&c); ^ user.cpp:35:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%c",&v[2]);v[1]=a; ^ user.cpp:38:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%c",&c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbOK5
20ms264kbOK5
30ms268kbOK5
44ms272kbOK5
58ms268kbOK5
60ms232kbKilled by signal 11(SIGSEGV).0
70ms228kbKilled by signal 11(SIGSEGV).0
80ms232kbKilled by signal 11(SIGSEGV).0
90ms236kbKilled by signal 11(SIGSEGV).0
100ms236kbKilled by signal 11(SIGSEGV).0
110ms232kbKilled by signal 11(SIGSEGV).0
120ms236kbKilled by signal 11(SIGSEGV).0
130ms232kbKilled by signal 11(SIGSEGV).0
140ms228kbKilled by signal 11(SIGSEGV).0
150ms236kbKilled by signal 11(SIGSEGV).0
160ms232kbKilled by signal 11(SIGSEGV).0
170ms228kbKilled by signal 11(SIGSEGV).0
180ms236kbKilled by signal 11(SIGSEGV).0
190ms232kbKilled by signal 11(SIGSEGV).0
200ms272kbOK5
Punctaj total30

Ceva nu functioneaza?