Borderou de evaluare (job #1040106)

Utilizator enedumitruene dumitru enedumitru Data 23 noiembrie 2013 23:04:45
Problema Aranjare 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:20:16: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&n); ^ user.cpp:25: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:25:39: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] user.cpp:31:27: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld %ld\n",i,p); ^ user.cpp:31:27: 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
20ms236kbOK5
30ms240kbOK5
40ms236kbOK5
50ms236kbOK5
60ms240kbOK5
70ms236kbOK5
80ms240kbOK5
94ms236kbOK5
104ms240kbOK5
114ms236kbOK5
124ms236kbOK5
134ms240kbOK5
144ms236kbOK5
1540ms316kbOK5
16184ms460kbOK5
17Depăşit812kbTime limit exceeded.0
18Depăşit836kbTime limit exceeded.0
19Depăşit980kbTime limit exceeded.0
20Depăşit988kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?