Borderou de evaluare (job #2117896)

Utilizator VladGhetinaVlad Ghetina VladGhetina Data 29 ianuarie 2018 19:25:16
Problema Dif2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void Solve1()’: user.cpp:52:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d" , &n); ^ user.cpp: In function ‘void Solve2()’: user.cpp:65:27: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf ("%lld" , &x) , fr[x]++ , mx = maxim(mx,x) , mn = minim(mn,x); ^ user.cpp: In function ‘void Read()’: user.cpp:108:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d" , &V); ^ user.cpp: In function ‘void Solve1()’: user.cpp:52:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &n); ^ user.cpp:54:63: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &x) , mn = minim(mn,x) , mx = maxim(mx,x); ^ user.cpp: In function ‘void Solve2()’: user.cpp:63:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%lld%lld%lld" , &n , &inc , &fin ); ^ user.cpp:65:76: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%lld" , &x) , fr[x]++ , mx = maxim(mx,x) , mn = minim(mn,x); ^ user.cpp: In function ‘void Read()’: user.cpp:108:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &V); ^ user.cpp: In function ‘int main()’: user.cpp:117:26: 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:118:28: 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
184ms796kbOK5
268ms800kbOK5
348ms816kbOK5
448ms800kbOK5
568ms752kbOK5
60ms2732kbKilled by signal 6(SIGABRT).0
70ms2728kbKilled by signal 6(SIGABRT).0
856ms2996kbKilled by signal 6(SIGABRT).0
968ms3052kbKilled by signal 6(SIGABRT).0
1016ms2800kbKilled by signal 6(SIGABRT).0
1176ms3064kbKilled by signal 6(SIGABRT).0
1248ms2980kbKilled by signal 6(SIGABRT).0
1360ms3036kbKilled by signal 6(SIGABRT).0
14264ms4628kbKilled by signal 6(SIGABRT).0
15428ms5244kbKilled by signal 6(SIGABRT).0
1664ms4424kbKilled by signal 6(SIGABRT).0
17440ms5192kbKilled by signal 6(SIGABRT).0
1888ms4912kbKilled by signal 6(SIGABRT).0
19304ms4400kbKilled by signal 6(SIGABRT).0
2028ms876kbOK5
Punctaj total30

Ceva nu functioneaza?