Pagini recente » Borderou de evaluare (job #43783) | Borderou de evaluare (job #2833575) | Borderou de evaluare (job #148849) | Borderou de evaluare (job #19423) | Borderou de evaluare (job #1751345)
Borderou de evaluare (job #1751345)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:9:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("propozitie.in", "r", stdin);
^
user.cpp:10:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &k);
^
user.cpp:11:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s + 1, maxN, stdin);
^
user.cpp: In function ‘void write()’:
user.cpp:38:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("propozitie.out", "w", stdout);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘void read()’ at user.cpp:11:30:
/usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default]
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 452kb | OK | 10 |
2 | 0ms | 456kb | OK | 10 |
3 | 0ms | 456kb | OK | 10 |
4 | 0ms | 456kb | OK | 10 |
5 | 0ms | 464kb | OK | 10 |
6 | 12ms | 724kb | OK | 10 |
7 | 12ms | 764kb | OK | 10 |
8 | 16ms | 824kb | OK | 10 |
9 | 20ms | 876kb | OK | 10 |
10 | 4ms | 720kb | Killed by signal 6(SIGABRT). | 0 |
Punctaj total | 90 |