Borderou de evaluare (job #1040759)

Utilizator enedumitruene dumitru enedumitru Data 24 noiembrie 2013 21:35:54
Problema Aranjare 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 75

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&n); ^ user.cpp:11:64: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] for(i=1;i<n;++i) {x[n+i]=x[2*i]; printf("%ld %ld\n",2*i,n+i);} ^ user.cpp:11:64: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] user.cpp:17:26: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld %ld\n",p,i); ^ user.cpp:17:26: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms236kbOK5
20ms240kbOK5
30ms236kbOK5
40ms236kbOK5
50ms236kbOK5
60ms236kbOK5
70ms236kbOK5
80ms240kbOK5
94ms240kbOK5
104ms240kbOK5
114ms236kbOK5
124ms240kbOK5
134ms236kbOK5
144ms236kbOK5
1548ms320kbOK5
16Depăşit452kbTime limit exceeded.0
17Depăşit820kbTime limit exceeded.0
18Depăşit836kbTime limit exceeded.0
19Depăşit988kbTime limit exceeded.0
20Depăşit984kbTime limit exceeded.0
Punctaj total75

Ceva nu functioneaza?