Borderou de evaluare (job #1224443)

Utilizator isav_costinVlad Costin Andrei isav_costin Data 30 august 2014 23:56:09
Problema Roata Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 92

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:30: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf( "%lld", &v[i] ); ^ user.cpp:36:41: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=] printf( "%lld ", r[j].b ), u=j; ^ user.cpp:13:24: warning: unused variable ‘cp’ [-Wunused-variable] long long n, p, i, cp, j, min=1000001, u, s=0, cn, foame, ok, x; ^ user.cpp:13:52: warning: unused variable ‘cn’ [-Wunused-variable] long long n, p, i, cp, j, min=1000001, u, s=0, cn, foame, ok, x; ^ user.cpp:13:56: warning: unused variable ‘foame’ [-Wunused-variable] long long n, p, i, cp, j, min=1000001, u, s=0, cn, foame, ok, x; ^ user.cpp:11:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen( "roata.in", "r", stdin ); ^ user.cpp:12:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen( "roata.out", "w", stdout ); ^ user.cpp:14:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%lld%lld", &n, &p ); ^ user.cpp:17:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%lld", &v[i] ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbOK!5
20ms264kbOK!5
30ms264kbOK!5
40ms256kbOK!5
50ms256kbOK!5
60ms256kbOK!5
70ms256kbOK!5
80ms260kbOK!5
90ms264kbOK!5
100ms260kbOK!5
114ms280kbOK!5
120ms268kbOK!5
1312ms308kbOK!5
1436ms364kbOK!5
1580ms432kbOK!5
16136ms516kbOK!5
17300ms648kbCerinta 2 incorecta !3
18220ms648kbOK!5
19296ms648kbCerinta 2 incorecta !3
2076ms648kbCerinta 1 corecta !1
Punctaj total92

Ceva nu functioneaza?