Pagini recente » Borderou de evaluare (job #2221782) | Borderou de evaluare (job #2139020) | Borderou de evaluare (job #1656150) | Borderou de evaluare (job #1711657) | Borderou de evaluare (job #2593250)
Borderou de evaluare (job #2593250)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:21:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d%d ",&n,&m,&q);
^
main.cpp:23:21: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(c+1,N,fin);
^
main.cpp:63:43: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%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/x86_64-linux-gnu/c++/6/bits/stdc++.h:46,
from main.cpp:1:
In function 'char* fgets(char*, int, FILE*)',
inlined from 'int main()' at main.cpp:23:21:
/usr/include/x86_64-linux-gnu/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 | 12ms | 393kb | OK | 10 |
2 | 10ms | 393kb | OK | 10 |
3 | 10ms | 393kb | OK | 10 |
4 | 434ms | 8519kb | OK | 10 |
5 | 507ms | 8744kb | OK | 10 |
6 | 475ms | 8388kb | OK | 10 |
7 | 700ms | 8650kb | Time limit exceeded | 0 |
8 | 683ms | 8650kb | OK | 10 |
9 | 703ms | 9043kb | Time limit exceeded | 0 |
10 | 703ms | 8388kb | Time limit exceeded | 0 |
Punctaj total | 70 |