Pagini recente » Borderou de evaluare (job #2142799) | Borderou de evaluare (job #2766973) | Borderou de evaluare (job #2356071) | Borderou de evaluare (job #1338203) | Borderou de evaluare (job #2353456)
Borderou de evaluare (job #2353456)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:59:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d\n",&k);
^
main.cpp:60:28: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(n + 1,NMAX + 5,f);
^
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:60:28:
/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 | 8ms | 4194kb | OK | 5 |
2 | 10ms | 4194kb | OK | 5 |
3 | 10ms | 4194kb | OK | 5 |
4 | 10ms | 4194kb | OK | 5 |
5 | 10ms | 4194kb | OK | 5 |
6 | 10ms | 4194kb | OK | 5 |
7 | 10ms | 4194kb | OK | 5 |
8 | 10ms | 4194kb | OK | 5 |
9 | 10ms | 4194kb | OK | 5 |
10 | 10ms | 4194kb | OK | 5 |
11 | 10ms | 4194kb | OK | 5 |
12 | 11ms | 4194kb | OK | 5 |
13 | 10ms | 4194kb | OK | 5 |
14 | 11ms | 4194kb | OK | 5 |
15 | 11ms | 4194kb | OK | 5 |
16 | 11ms | 4194kb | OK | 5 |
17 | 11ms | 4194kb | OK | 5 |
18 | 11ms | 4194kb | OK | 5 |
19 | 11ms | 4194kb | OK | 5 |
20 | 11ms | 4194kb | OK | 5 |
Punctaj total | 100 |