Pagini recente » Borderou de evaluare (job #1456176) | Borderou de evaluare (job #62572) | Borderou de evaluare (job #126459) | Borderou de evaluare (job #986363) | Borderou de evaluare (job #2282266)
Borderou de evaluare (job #2282266)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:61:23: warning: format not a string literal and no format arguments [-Wformat-security]
fprintf(fout , v + 1);
^
main.cpp:29:35: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin , "%d%d\n" , &n , &m);
^
main.cpp:38:34: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(v + 1 , 5 + nmax , fin);
^
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/bits/locale_classes.h:40,
from /usr/include/c++/6/bits/ios_base.h:41,
from /usr/include/c++/6/ios:42,
from /usr/include/c++/6/ostream:38,
from /usr/include/c++/6/iostream:39,
from main.cpp:1:
In function 'char* fgets(char*, int, FILE*)',
inlined from 'int main()' at main.cpp:38:34:
/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 | 131kb | Incorect | 0 |
2 | 6ms | 131kb | Incorect | 0 |
3 | 13ms | 131kb | Incorect | 0 |
4 | 59ms | 131kb | Incorect | 0 |
5 | 108ms | 262kb | Incorect | 0 |
6 | 134ms | 262kb | Incorect | 0 |
7 | 160ms | 131kb | Incorect | 0 |
8 | 500ms | 131kb | Time limit exceeded | 0 |
9 | 227ms | 131kb | Incorect | 0 |
10 | 188ms | 262kb | Incorect | 0 |
Punctaj total | 0 |