Borderou de evaluare (job #1762660)

Utilizator depevladVlad Dumitru-Popescu depevlad Data 23 septembrie 2016 23:26:27
Problema Laser Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:60:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=] scanf("%d", &Segs[i].fi); ^ user.cpp:49:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("laser.in", "r", stdin); ^ user.cpp:50:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("laser.out", "w", stdout); ^ user.cpp:52:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:54:71: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &segEnds[2 * i - 1].fi, &segEnds[2 * i - 1].se); ^ user.cpp:55:63: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &segEnds[2 * i].fi, &segEnds[2 * i].se); ^ user.cpp:60:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &Segs[i].fi); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms416kbNumar de trageri incorect0
20ms412kbNumar de trageri incorect0
34ms412kbNumar de trageri incorect0
412ms416kbNumar de trageri incorect0
520ms416kbNumar de trageri incorect0
648ms416kbNumar de trageri incorect0
7116ms416kbNumar de trageri incorect0
884ms412kbNumar de trageri incorect0
9132ms416kbNumar de trageri incorect0
10120ms416kbNumar de trageri incorect0
Punctaj total0

Ceva nu functioneaza?