Pagini recente » Borderou de evaluare (job #1681731) | Borderou de evaluare (job #1841417) | Cod sursa (job #23935) | Borderou de evaluare (job #1071153) | Borderou de evaluare (job #2595807)
Borderou de evaluare (job #2595807)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:54:29: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen(iname,"r",stdin);
^
main.cpp:55:30: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen(oname,"w",stdout);
^
main.cpp:56:33: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(s2+1,sizeof(s2),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:56:33:
/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 | 28ms | 131kb | OK | 5 |
| 2 | 28ms | 131kb | OK | 5 |
| 3 | 28ms | 131kb | OK | 5 |
| 4 | 28ms | 131kb | OK | 5 |
| 5 | 28ms | 131kb | OK | 5 |
| 6 | 28ms | 131kb | OK | 5 |
| 7 | 29ms | 131kb | OK | 5 |
| 8 | 29ms | 131kb | OK | 5 |
| 9 | 29ms | 131kb | OK | 5 |
| 10 | 30ms | 131kb | OK | 5 |
| 11 | 30ms | 262kb | OK | 5 |
| 12 | 31ms | 262kb | OK | 5 |
| 13 | 39ms | 524kb | OK | 5 |
| 14 | 51ms | 786kb | OK | 5 |
| 15 | 75ms | 1572kb | OK | 5 |
| 16 | 92ms | 2228kb | OK | 5 |
| 17 | 114ms | 2621kb | OK | 5 |
| 18 | 114ms | 2883kb | OK | 5 |
| 19 | 123ms | 2883kb | OK | 5 |
| 20 | 28ms | 131kb | OK | 5 |
| Punctaj total | 100 |