Borderou de evaluare (job #1040735)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:26:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&n); n2=2*n; ^ user.cpp:32:39: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld %ld\n",2*i,n+i); ^ user.cpp:32:39: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] user.cpp:38:39: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld %ld\n",i,p); ^ user.cpp:38:39: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] user.cpp:44:39: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld %ld\n",i,p); ^ user.cpp:44:39: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms236kbIncorect0
24ms236kbIncorect0
34ms236kbIncorect0
44ms240kbIncorect0
54ms236kbIncorect0
64ms236kbIncorect0
74ms236kbIncorect0
80ms240kbOK5
94ms236kbOK5
104ms236kbIncorect0
114ms240kbOK5
124ms240kbIncorect0
134ms240kbIncorect0
144ms236kbOK5
1544ms320kbOK5
16196ms460kbOK5
17Depăşit816kbTime limit exceeded.0
18Depăşit832kbTime limit exceeded.0
19Depăşit988kbTime limit exceeded.0
20Depăşit988kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?