Borderou de evaluare (job #1097885)

Utilizator olteanuvladOlteanu Vlad olteanuvlad Data 4 februarie 2014 09:26:29
Problema AI Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 1

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:32:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d",&n); ^ user.cpp:33:73: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d%d%d%d%d%d%d%d%d%d",&t1,&t2,&s1,&s2,&s3,&s4,&r1,&r2,&r3,&r4); ^ user.cpp:33:73: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:33:73: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:33:73: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long int*’ [-Wformat=] user.cpp:33:73: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long int*’ [-Wformat=] user.cpp:33:73: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘long int*’ [-Wformat=] user.cpp:33:73: warning: format ‘%d’ expects argument of type ‘int*’, but argument 8 has type ‘long int*’ [-Wformat=] user.cpp:33:73: warning: format ‘%d’ expects argument of type ‘int*’, but argument 9 has type ‘long int*’ [-Wformat=] user.cpp:33:73: warning: format ‘%d’ expects argument of type ‘int*’, but argument 10 has type ‘long int*’ [-Wformat=] user.cpp:33:73: warning: format ‘%d’ expects argument of type ‘int*’, but argument 11 has type ‘long int*’ [-Wformat=] user.cpp:39:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d",&k); ^ user.cpp:42:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d%d",&x,&y); ^ user.cpp:42:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:80:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d\n",max3); ^ user.cpp:191:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] if(max1<max2)printf("%d\n",max1); ^ user.cpp:192:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] else printf("%d\n",max2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms328kbRaspuns gresit0
20ms448kbRaspuns gresit0
34ms816kbRaspuns gresit0
48ms2300kbRaspuns gresit0
512ms3064kbRaspuns gresit0
628ms4932kbRaspuns gresit0
74ms1488kbRaspuns gresit0
84ms736kbRaspuns gresit0
912ms3432kbRaspuns gresit0
1028ms9544kbPrimul numar corect1
1140ms9444kbRaspuns gresit0
12116ms12480kbRaspuns gresit0
13112ms17676kbRaspuns gresit0
14132msDepăşitMemory limit exceeded.0
15100msDepăşitMemory limit exceeded.0
1684msDepăşitMemory limit exceeded.0
1772ms18768kbRaspuns gresit0
18144msDepăşitMemory limit exceeded.0
1996ms13392kbRaspuns gresit0
20120msDepăşitMemory limit exceeded.0
Punctaj total1

Ceva nu functioneaza?