Borderou de evaluare (job #2021757)

Utilizator VladGhetinaVlad Ghetina VladGhetina Data 14 septembrie 2017 16:52:06
Problema Trandafiri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void Solve()’: user.cpp:30:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for ( i = 1 ; i <= n ; i ++ ) ^ user.cpp:31:29: warning: format ‘%llu’ expects argument of type ‘long long unsigned int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf ( "%llu" , &x ) , mn = minim(mn,x) , mx = maxim(mx,x); ^ user.cpp:28:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ( "%llu" , &n ); ^ user.cpp:31:68: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ( "%llu" , &x ) , mn = minim(mn,x) , mx = maxim(mx,x); ^ user.cpp: In function ‘int main()’: user.cpp:39:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ( IN , "r" , stdin ); ^ user.cpp:40:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ( OUT , "w" , stdout ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
132ms280kbOK20
20ms276kbOK20
30ms280kbOK20
428ms272kbOK20
528ms272kbOK20
Punctaj total100

Ceva nu functioneaza?