Borderou de evaluare (job #421549)

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

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: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
1164ms11403kbRaspuns gresit!0
2451ms12320kbTime limit exceeded0
3452ms19591kbTime limit exceeded0
4452ms24436kbTime limit exceeded0
5452ms21684kbTime limit exceeded0
6453ms24436kbTime limit exceeded0
7453ms26140kbTime limit exceeded0
8452ms22208kbTime limit exceeded0
9452ms24961kbTime limit exceeded0
10452ms22339kbTime limit exceeded0
1124ms10878kbOK!1
1227ms10878kbRaspuns gresit!0
Punctaj total1

Ceva nu functioneaza?