Pagini recente » Borderou de evaluare (job #146669) | Borderou de evaluare (job #646248) | Borderou de evaluare (job #2333884) | Borderou de evaluare (job #98055) | Borderou de evaluare (job #421222)
Borderou de evaluare (job #421222)
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 |
1 | 11ms | 786kb | OK! | 8 |
2 | 115ms | 1572kb | OK! | 10 |
3 | 399ms | 4456kb | Raspuns gresit! | 0 |
4 | 451ms | 7733kb | Time limit exceeded | 0 |
5 | 451ms | 13369kb | Time limit exceeded | 0 |
6 | 451ms | 14548kb | Time limit exceeded | 0 |
7 | 452ms | 15073kb | Time limit exceeded | 0 |
8 | 455ms | 15990kb | Time limit exceeded | 0 |
9 | 450ms | 15990kb | Time limit exceeded | 0 |
10 | 452ms | 16121kb | Time limit exceeded | 0 |
11 | 2ms | 131kb | OK! | 1 |
12 | 2ms | 262kb | OK! | 1 |
Punctaj total | 20 |