Pagini recente » Borderou de evaluare (job #2968813) | Borderou de evaluare (job #1547173) | Borderou de evaluare (job #2891405) | Borderou de evaluare (job #1852821) | Borderou de evaluare (job #421545)
Borderou de evaluare (job #421545)
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 solve()':
main.cpp:219:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'clock_t {aka long int}' [-Wformat=]
fprintf(stderr,"Time %d ms\n",clock() );
^
main.cpp: In function 'void scan()':
main.cpp:63: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:64: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:67: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:71: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:211: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:71: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 | 159ms | 11403kb | Raspuns gresit! | 0 |
2 | 452ms | 12320kb | Time limit exceeded | 0 |
3 | 451ms | 19591kb | Time limit exceeded | 0 |
4 | 452ms | 28889kb | Time limit exceeded | 0 |
5 | 452ms | 26009kb | Time limit exceeded | 0 |
6 | 452ms | 21946kb | Time limit exceeded | 0 |
7 | 453ms | 21684kb | Time limit exceeded | 0 |
8 | 455ms | 24174kb | Time limit exceeded | 0 |
9 | 451ms | 23257kb | Time limit exceeded | 0 |
10 | 452ms | 22339kb | Time limit exceeded | 0 |
11 | 25ms | 10878kb | OK! | 1 |
12 | 27ms | 10878kb | Raspuns gresit! | 0 |
Punctaj total | 1 |