Pagini recente » Borderou de evaluare (job #368844) | Borderou de evaluare (job #2163383) | Borderou de evaluare (job #752977) | Borderou de evaluare (job #2613314) | Borderou de evaluare (job #2596354)
Borderou de evaluare (job #2596354)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:52:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("invers.in", "r", stdin);
^
main.cpp:53:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("invers.out", "w", stdout);
^
main.cpp:55:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &nrt);
^
main.cpp:59:35: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(v + 1, 10005, stdin);
^
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:59:35:
/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 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 2ms | 131kb | OK | 10 |
5 | 5ms | 131kb | OK | 10 |
6 | 6ms | 131kb | OK | 10 |
7 | 2ms | 131kb | OK | 10 |
8 | 2ms | 131kb | OK | 10 |
9 | 2ms | 131kb | OK | 10 |
10 | 7ms | 131kb | OK | 10 |
Punctaj total | 100 |