Borderou de evaluare (job #421222)

Utilizator swift90Ionut Bogdanescu swift90 Data 21 martie 2010 12:29:27
Problema Pirati Status done
Runda Algoritmiada 2010, Runda 4, Clasele 11-12 Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'void solve()': main.cpp:70: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); ^ main.cpp: In function 'int main()': main.cpp:87:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("pirati.in","r",stdin); ^ main.cpp:88:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("pirati.out","w",stdout); ^ main.cpp:90:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&N,&M,&Q); ^ main.cpp:91:20: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(S,100,stdin); ^ main.cpp:93:24: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(S+1,1024,stdin); ^ In file included from /usr/include/stdio.h:936:0, from main.cpp:1: In function 'char* fgets(char*, int, FILE*)', inlined from 'int main()' at main.cpp:93:24: /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
111ms786kbOK!8
2115ms1572kbOK!10
3399ms4456kbRaspuns gresit!0
4451ms7733kbTime limit exceeded0
5451ms13369kbTime limit exceeded0
6451ms14548kbTime limit exceeded0
7452ms15073kbTime limit exceeded0
8455ms15990kbTime limit exceeded0
9450ms15990kbTime limit exceeded0
10452ms16121kbTime limit exceeded0
112ms131kbOK!1
122ms262kbOK!1
Punctaj total20

Ceva nu functioneaza?