Borderou de evaluare (job #1146802)

Utilizator serbanSlincu Serban serban Data 19 martie 2014 11:59:36
Problema Triunghi2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:28:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f,"%d",&n); ^ user.cpp:31:86: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f,"%d%d%d%d%d%d",&v[i].x1,&v[i].y1,&v[i].x2,&v[i].y2,&v[i].x3,&v[i].y3); ^ user.cpp:31:86: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:31:86: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:31:86: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=] user.cpp:31:86: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘short int*’ [-Wformat=] user.cpp:31:86: warning: format ‘%d’ expects argument of type ‘int*’, but argument 8 has type ‘short int*’ [-Wformat=] user.cpp:35:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f,"%d%d",&xf,&yf); ^ user.cpp:35:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:26:11: warning: unused variable ‘j’ [-Wunused-variable] int i,j; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms320kbKilled by signal 11(SIGSEGV).0
20ms316kbKilled by signal 11(SIGSEGV).0
30ms316kbKilled by signal 11(SIGSEGV).0
40ms320kbKilled by signal 11(SIGSEGV).0
50ms316kbKilled by signal 11(SIGSEGV).0
60ms316kbKilled by signal 11(SIGSEGV).0
70ms324kbKilled by signal 11(SIGSEGV).0
80ms324kbKilled by signal 11(SIGSEGV).0
90ms320kbKilled by signal 11(SIGSEGV).0
100ms316kbKilled by signal 11(SIGSEGV).0
110ms320kbKilled by signal 11(SIGSEGV).0
120ms316kbKilled by signal 11(SIGSEGV).0
130ms320kbKilled by signal 11(SIGSEGV).0
140ms320kbKilled by signal 11(SIGSEGV).0
150ms316kbKilled by signal 11(SIGSEGV).0
160ms316kbKilled by signal 11(SIGSEGV).0
170ms320kbKilled by signal 11(SIGSEGV).0
180ms320kbKilled by signal 11(SIGSEGV).0
190ms316kbKilled by signal 11(SIGSEGV).0
200ms320kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?