Pagini recente » Borderou de evaluare (job #1190995) | Borderou de evaluare (job #395235) | Borderou de evaluare (job #1596017) | Borderou de evaluare (job #2244208) | Borderou de evaluare (job #2273167)
Borderou de evaluare (job #2273167)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:16:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin, "%d%d%d\n", &n, &m, &l);
^
main.cpp:20:27: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets (a, MAXN + 5, fin);
^
main.cpp:38:29: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets (b, MAXL + 5, fin);
^
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:20:27:
/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);
^
In function 'char* fgets(char*, int, FILE*)',
inlined from 'int main()' at main.cpp:38: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 | 131kb | OK | 10 |
2 | 3ms | 131kb | OK | 10 |
3 | 6ms | 262kb | OK | 10 |
4 | 28ms | 655kb | OK | 10 |
5 | 51ms | 1310kb | OK | 10 |
6 | 93ms | 2359kb | OK | 10 |
7 | 135ms | 3407kb | OK | 10 |
8 | 136ms | 3407kb | OK | 10 |
9 | 203ms | 5505kb | Time limit exceeded | 0 |
10 | 202ms | 5505kb | Time limit exceeded | 0 |
Punctaj total | 80 |