Pagini recente » Borderou de evaluare (job #2696362) | Borderou de evaluare (job #2476457) | Borderou de evaluare (job #1775616) | Borderou de evaluare (job #355255) | Borderou de evaluare (job #2584194)
Borderou de evaluare (job #2584194)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:27:55: warning: statement has no effect [-Wunused-value]
DPRINTF("EROARE deschidere fisier intrare!\n");
^
main.cpp:34:54: warning: statement has no effect [-Wunused-value]
DPRINTF("EROARE deschidere fisier iesire!\n");
^
main.cpp:40:23: warning: left operand of comma operator has no effect [-Wunused-value]
DPRINTF("N=%d\n", N);
^
main.cpp:43:23: warning: left operand of comma operator has no effect [-Wunused-value]
DPRINTF("K=%d\n", K);
^
main.cpp:49:46: warning: statement has no effect [-Wunused-value]
DPRINTF("EROARE ALOCARE MEMORIE !\n");
^
main.cpp:56:28: warning: left operand of comma operator has no effect [-Wunused-value]
DPRINTF("%d, ", v[i]);
^
main.cpp:58:18: warning: statement has no effect [-Wunused-value]
DPRINTF("\n");
^
main.cpp:72:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (countSetBits(val_seq) <= K )
~~~~~~~~~~~~~~~~~~~~~~^~~~
main.cpp:74:29: warning: statement has no effect [-Wunused-value]
DPRINTF("[");
^
main.cpp:77:39: warning: left operand of comma operator has no effect [-Wunused-value]
DPRINTF("%d ", v[i]);
^
main.cpp:79:36: warning: left operand of comma operator has no effect [-Wunused-value]
DPRINTF("]: %d\n", val_seq);
^~~~~~~
main.cpp:84:39: warning: left operand of comma operator has no effect [-Wunused-value]
DPRINTF("num_special_seq = %d\n", num_special_seq);
^~~~~~~~~~~~~~~
main.cpp:39:26: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &N);
^
main.cpp:42:26: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &K);
^
main.cpp:55:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &v[i]);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 2ms | 131kb | OK | 10 | 20 |
✓ | 2 | 2ms | 131kb | OK | 10 |
✓ | 3 | 156ms | 262kb | OK | 10 | 30 |
✓ | 4 | 159ms | 131kb | OK | 10 |
✓ | 5 | 163ms | 131kb | OK | 10 |
✓ | 6 | 200ms | 524kb | Time limit exceeded | 0 | 0 |
✓ | 7 | 203ms | 524kb | Time limit exceeded | 0 |
✓ | 8 | 200ms | 524kb | Time limit exceeded | 0 |
✓ | 9 | 200ms | 524kb | Time limit exceeded | 0 |
✓ | 10 | 201ms | 524kb | Time limit exceeded | 0 |
Punctaj total | 50 |