Borderou de evaluare (job #421713)

Utilizator andrei-alphaAndrei-Bogdan Antonescu andrei-alpha Data 21 martie 2010 15:56:50
Problema Pirati Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

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
116ms6815kbOK!8
226ms7077kbOK!10
386ms8257kbOK!10
4179ms9699kbOK!10
5453ms13430kbTime limit exceeded0
6451ms13107kbTime limit exceeded0
7452ms13893kbTime limit exceeded0
8457ms13631kbTime limit exceeded0
9452ms13631kbTime limit exceeded0
10455ms13561kbTime limit exceeded0
1116ms6553kbOK!1
1216ms6553kbOK!1
Punctaj total40

Ceva nu functioneaza?