Pagini recente » Borderou de evaluare (job #2120836) | Borderou de evaluare (job #2246704) | Borderou de evaluare (job #1367240) | Borderou de evaluare (job #2808181) | Borderou de evaluare (job #2070766)
Borderou de evaluare (job #2070766)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:26:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &n);
^
user.c:29:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &v[i]);
^
user.c:101:25: warning: ‘ctn’ may be used uninitialized in this function [-Wmaybe-uninitialized]
nowcost = cti + ctj + ctk + ctn;
^
user.c:94:44: warning: ‘prevmin4’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if ((v[k] == prevmax4) || (v[k] == prevmin4)) {
^
user.c:94:24: warning: ‘prevmax4’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if ((v[k] == prevmax4) || (v[k] == prevmin4)) {
^
user.c:101:37: warning: ‘ctk’ may be used uninitialized in this function [-Wmaybe-uninitialized]
nowcost = cti + ctj + ctk + ctn;
^
user.c:89:24: warning: ‘prevmin3’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (v[k] < prevmin3) {
^
user.c:85:24: warning: ‘prevmax3’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (v[k] > prevmax3) {
^
user.c:54:17: warning: ‘ctj’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int ctj;
^
user.c:64:20: warning: ‘prevmin2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (v[j] < prevmin2) {
^
user.c:60:20: warning: ‘prevmax2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (v[j] > prevmax2) {
^
user.c:34:9: warning: ‘cti’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int cti;
^
user.c:46:16: warning: ‘prevmin1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (v[i] < prevmin1) {
^
user.c:42:16: warning: ‘prevmax1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (v[i] > prevmax1) {
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 48ms | 284kb | OK | 10 |
4 | Depăşit | 260kb | Time limit exceeded. | 0 |
5 | Depăşit | 260kb | Time limit exceeded. | 0 |
6 | Depăşit | 268kb | Time limit exceeded. | 0 |
7 | Depăşit | 268kb | Time limit exceeded. | 0 |
8 | Depăşit | 272kb | Time limit exceeded. | 0 |
9 | Depăşit | 272kb | Time limit exceeded. | 0 |
10 | Depăşit | 272kb | Time limit exceeded. | 0 |
Punctaj total | 30 |