Borderou de evaluare (job #421585)

Utilizator andrei-alphaAndrei-Bogdan Antonescu andrei-alpha Data 21 martie 2010 14:45:09
Problema Pirati Status done
Runda Algoritmiada 2010, Runda 4, Clasele 11-12 Compilator cpp | Vezi sursa
Scor 20

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:202: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
118ms6815kbOK!8
268ms7077kbOK!10
3452ms8257kbTime limit exceeded0
4452ms9830kbTime limit exceeded0
5452ms13168kbTime limit exceeded0
6452ms13107kbTime limit exceeded0
7452ms13369kbTime limit exceeded0
8451ms13762kbTime limit exceeded0
9450ms13500kbTime limit exceeded0
10453ms13369kbTime limit exceeded0
1116ms6553kbOK!1
1216ms6684kbOK!1
Punctaj total20

Ceva nu functioneaza?