Borderou de evaluare (job #1136754)

Utilizator lianaliana tucar liana Data 9 martie 2014 11:08:29
Problema Echilibru Status done
Runda ONIS 2014, Runda 3 Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:27:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&t); ^ user.cpp:31:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&n); s=0; ^ user.cpp:33:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] { scanf("%ld",&v[i]); s+=v[i]; } ^ user.cpp:39:21: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld",rez); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms232kbOK100
Punctaj total100

Ceva nu functioneaza?