Pagini recente » Borderou de evaluare (job #1831818) | Borderou de evaluare (job #1235833) | Borderou de evaluare (job #716052) | Borderou de evaluare (job #2724091) | Borderou de evaluare (job #421713)
Borderou de evaluare (job #421713)
Raport evaluator
Compilare:
In file included from /usr/include/c++/6/ext/hash_map:60:0,
from main.cpp:22:
/usr/include/c++/6/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
#warning \
^~~~~~~
main.cpp: In function 'void scan()':
main.cpp:64:23: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen(IN,"r",stdin);
^
main.cpp:65:25: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen(OUT,"w",stdout);
^
main.cpp:68:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d\n",&X,&Y,&K);
^
main.cpp:72:30: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(buffer+1,1<<10,stdin);
^
main.cpp: In function 'void solve()':
main.cpp:207:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&x1,&y1,&x2,&y2);
^
In file included from /usr/include/stdio.h:936:0,
from /usr/include/c++/6/cstdio:42,
from /usr/include/c++/6/ext/string_conversions.h:43,
from /usr/include/c++/6/bits/basic_string.h:5420,
from /usr/include/c++/6/string:52,
from /usr/include/c++/6/stdexcept:39,
from /usr/include/c++/6/array:39,
from /usr/include/c++/6/tuple:39,
from /usr/include/c++/6/bits/stl_map.h:63,
from /usr/include/c++/6/map:61,
from main.cpp:4:
In function 'char* fgets(char*, int, FILE*)',
inlined from 'void scan()' at main.cpp:72:30:
/usr/include/bits/stdio2.h:261:58: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 6815kb | OK! | 8 |
2 | 26ms | 7077kb | OK! | 10 |
3 | 86ms | 8257kb | OK! | 10 |
4 | 179ms | 9699kb | OK! | 10 |
5 | 453ms | 13430kb | Time limit exceeded | 0 |
6 | 451ms | 13107kb | Time limit exceeded | 0 |
7 | 452ms | 13893kb | Time limit exceeded | 0 |
8 | 457ms | 13631kb | Time limit exceeded | 0 |
9 | 452ms | 13631kb | Time limit exceeded | 0 |
10 | 455ms | 13561kb | Time limit exceeded | 0 |
11 | 16ms | 6553kb | OK! | 1 |
12 | 16ms | 6553kb | OK! | 1 |
Punctaj total | 40 |