Borderou de evaluare (job #2027003)

Utilizator Marius7122FMI Ciltea Marian Marius7122 Data 25 septembrie 2017 14:30:43
Problema Scara 3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:25:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f1,"%d%d",&n,&k); ^ user.cpp:25:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:28:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f1,"%d%d",&i,&j); ^ user.cpp:28:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:31:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f1,"%d",&l); ^ user.cpp:34:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f1,"%d%d",&i,&j); ^ user.cpp:34:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:25:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1,"%d%d",&n,&k); ^ user.cpp:28:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1,"%d%d",&i,&j); ^ user.cpp:31:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1,"%d",&l); ^ user.cpp:34:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1,"%d%d",&i,&j); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms236kbKilled by signal 11(SIGSEGV).0
20ms236kbKilled by signal 11(SIGSEGV).0
30ms232kbKilled by signal 11(SIGSEGV).0
40ms236kbKilled by signal 11(SIGSEGV).0
50ms236kbKilled by signal 11(SIGSEGV).0
60ms240kbKilled by signal 11(SIGSEGV).0
70ms232kbKilled by signal 11(SIGSEGV).0
80ms236kbKilled by signal 11(SIGSEGV).0
90ms236kbKilled by signal 11(SIGSEGV).0
100ms236kbKilled by signal 11(SIGSEGV).0
110ms236kbKilled by signal 11(SIGSEGV).0
120ms236kbKilled by signal 11(SIGSEGV).0
130ms232kbKilled by signal 11(SIGSEGV).0
140ms236kbKilled by signal 11(SIGSEGV).0
150ms236kbKilled by signal 11(SIGSEGV).0
160ms240kbKilled by signal 11(SIGSEGV).0
170ms236kbKilled by signal 11(SIGSEGV).0
180ms240kbKilled by signal 11(SIGSEGV).0
190ms240kbKilled by signal 11(SIGSEGV).0
200ms232kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?