Borderou de evaluare (job #1151875)

Utilizator lianaliana tucar liana Data 24 martie 2014 13:35:59
Problema Atac Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:17:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld %ld",&n,&m,&P); ^ user.cpp:17:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:17:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:20:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld",&b,&c); ^ user.cpp:20:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp: In function ‘void rezolvare()’: user.cpp:99:54: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld %ld %ld %ld %ld",&x,&y,&a,&b,&c,&d); ^ user.cpp:99:54: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:99:54: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:99:54: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 5 has type ‘int*’ [-Wformat=] user.cpp:99:54: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 6 has type ‘int*’ [-Wformat=] user.cpp:99:54: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 7 has type ‘int*’ [-Wformat=] user.cpp:108:31: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n",rez); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms676kberai aproape.. dar ai comis-o pana la urma0
24ms680kbbelea.. ai gresit la greu.. nu treceai clasa daca erai la scoala0
3132ms976kberai aproape.. dar ai comis-o pana la urma0
4132ms968kbbelea.. ai gresit la greu.. nu treceai clasa daca erai la scoala0
544ms10048kbKilled by signal 11(SIGSEGV).0
644ms10044kbKilled by signal 11(SIGSEGV).0
744ms10044kbKilled by signal 11(SIGSEGV).0
844ms10044kbKilled by signal 11(SIGSEGV).0
944ms10212kbKilled by signal 11(SIGSEGV).0
1044ms10168kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?