Pagini recente » Borderou de evaluare (job #1183628) | Borderou de evaluare (job #1428189) | Borderou de evaluare (job #1864747) | Borderou de evaluare (job #1117346) | Borderou de evaluare (job #2526561)
Borderou de evaluare (job #2526561)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:9:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pscpld.in","r",stdin);
^
main.cpp:10:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pscpld.out","w",stdout);
^
main.cpp:13:29: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(v+1,1000005,stdin);
^
main.cpp:25:30: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (maxx-i+1<=p[2*c-i])
~^~
In file included from /usr/include/stdio.h:936:0,
from /usr/include/c++/6/cstdio:42,
from main.cpp:1:
In function 'char* fgets(char*, int, FILE*)',
inlined from 'int main()' at main.cpp:13:29:
/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 | 2ms | 262kb | OK | 10 |
2 | 3ms | 393kb | OK | 10 |
3 | 3ms | 393kb | OK | 10 |
4 | 45ms | 11141kb | OK | 10 |
5 | 10ms | 2359kb | OK | 10 |
6 | 19ms | 4456kb | OK | 10 |
7 | 23ms | 5636kb | OK | 10 |
8 | 34ms | 8388kb | OK | 10 |
9 | 40ms | 9961kb | OK | 10 |
10 | 44ms | 11141kb | OK | 10 |
Punctaj total | 100 |