Pagini recente » Borderou de evaluare (job #781267) | Borderou de evaluare (job #2551687) | Borderou de evaluare (job #219878) | Borderou de evaluare (job #561442) | Borderou de evaluare (job #2770157)
Borderou de evaluare (job #2770157)
Raport evaluator
Compilare:
main.cpp: In function 'void cit()':
main.cpp:38:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d\n",&n,&m);
^
main.cpp:46:25: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(c+1,110,f);
^
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 'void cit()' at main.cpp:46:25:
/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);
^
main.cpp: In function 'int main()':
main.cpp:123:30: warning: 'j1' may be used uninitialized in this function [-Wmaybe-uninitialized]
g<<tmin<<' '<<i1<<' '<<j1;
^
main.cpp:123:23: warning: 'i1' may be used uninitialized in this function [-Wmaybe-uninitialized]
g<<tmin<<' '<<i1<<' '<<j1;
^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 50 |
2 | 3ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 3ms | 262kb | OK | 10 |
5 | 3ms | 262kb | OK | 10 |
6 | 3ms | 131kb | OK | 10 | 50 |
7 | 3ms | 131kb | OK | 10 |
8 | 3ms | 262kb | OK | 10 |
9 | 2ms | 131kb | OK | 10 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 100 |