Borderou de evaluare (job #1040734)

Utilizator enedumitruene dumitru enedumitru Data 24 noiembrie 2013 21:04:12
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
10ms236kbKilled by signal 11(SIGSEGV).0
20ms236kbKilled by signal 11(SIGSEGV).0
30ms236kbKilled by signal 11(SIGSEGV).0
40ms236kbKilled by signal 11(SIGSEGV).0
50ms236kbKilled by signal 11(SIGSEGV).0
64ms236kbKilled by signal 11(SIGSEGV).0
74ms236kbKilled by signal 11(SIGSEGV).0
80ms240kbOK5
90ms236kbOK5
104ms236kbKilled by signal 11(SIGSEGV).0
114ms240kbOK5
124ms236kbKilled by signal 11(SIGSEGV).0
134ms236kbKilled by signal 11(SIGSEGV).0
144ms236kbOK5
1532ms264kbOK5
16148ms336kbOK5
17Depăşit504kbTime limit exceeded.0
18Depăşit520kbTime limit exceeded.0
19Depăşit600kbTime limit exceeded.0
20Depăşit592kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?