Pagini recente » Borderou de evaluare (job #2192817) | Borderou de evaluare (job #1124153) | Borderou de evaluare (job #1062284) | Borderou de evaluare (job #2207671) | Borderou de evaluare (job #2330741)
Borderou de evaluare (job #2330741)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:54:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("parpal.in", "r", stdin);
^
main.cpp:55:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("parpal.out", "w", stdout);
^
main.cpp:58:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &t);
^
main.cpp:59:29: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets (s + 1, NMAX, stdin);
^
main.cpp:61:31: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets (s + 1, NMAX, stdin);
^
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:59: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);
^
In function 'char* fgets(char*, int, FILE*)',
inlined from 'int main()' at main.cpp:61:31:
/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 | 6ms | 131kb | OK | 10 |
3 | 30ms | 262kb | OK | 10 |
4 | 30ms | 262kb | OK | 10 |
5 | 30ms | 262kb | OK | 10 |
6 | 137ms | 655kb | OK | 10 |
7 | 206ms | 917kb | OK | 10 |
8 | 209ms | 1048kb | OK | 10 |
9 | 234ms | 1048kb | OK | 10 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 100 |