Borderou de evaluare (job #1230871)

Utilizator andreiiiiPopa Andrei andreiiii Data 19 septembrie 2014 12:36:09
Problema Boundingbox Status done
Runda Infoarena Cup 2014 Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:48:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("boundingbox.in", "r", stdin); ^ user.cpp:49:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("boundingbox.out", "w", stdout); ^ user.cpp:52:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &T); ^ user.cpp:59:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &N, &M); ^ user.cpp:61:38: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(A + 1, Nmax, stdin); ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from /usr/include/c++/4.8/random:39, from /usr/include/c++/4.8/bits/stl_algo.h:65, from /usr/include/c++/4.8/algorithm:62, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:61:38: /usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default] return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
✓10ms256kbOK1020
✗20ms256kbOK10
✗3Depăşit232kbTime limit exceeded.00
✗4Depăşit256kbTime limit exceeded.0
✗5Depăşit228kbTime limit exceeded.00
✗6Depăşit260kbTime limit exceeded.0
✓7Depăşit256kbTime limit exceeded.00
✗8Depăşit252kbTime limit exceeded.0
✗9Depăşit256kbTime limit exceeded.00
✗10Depăşit256kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?