Borderou de evaluare (job #1131230)

Utilizator hunisanHunor Csaki hunisan Data 28 februarie 2014 18:40:18
Problema Roata Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 12

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:18: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld\n",&n); ^ user.cpp:13:18: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld\n",&p); ^ user.cpp:20:21: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&ci[p]); ^ user.cpp:26:23: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n",osszeg); ^ user.cpp:28:18: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld ",3); ^ user.cpp:29:19: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("\n%ld", 3); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms232kbCerinta 1 corecta !1
20ms232kbCerinta 1 corecta !1
30ms232kbCerinta 1 corecta !1
40ms232kbCerinta 1 corecta !1
50ms232kbCerinta 2 incorecta !3
60ms232kbCerinta 1 corecta !1
70ms232kbCerinta 1 corecta !1
80ms236kbCerinta 1 corecta !1
90ms232kbCerinta 1 corecta !1
100ms236kbCerinta 1 corecta !1
110ms232kbKilled by signal 11(SIGSEGV).0
120ms232kbKilled by signal 11(SIGSEGV).0
130ms232kbKilled by signal 11(SIGSEGV).0
140ms236kbKilled by signal 11(SIGSEGV).0
150ms232kbKilled by signal 11(SIGSEGV).0
160ms236kbKilled by signal 11(SIGSEGV).0
170ms232kbKilled by signal 11(SIGSEGV).0
180ms232kbKilled by signal 11(SIGSEGV).0
190ms232kbKilled by signal 11(SIGSEGV).0
200ms232kbKilled by signal 11(SIGSEGV).0
Punctaj total12

Ceva nu functioneaza?