Borderou de evaluare (job #2584194)

Utilizator raduvRadu Vanca raduv Data 18 martie 2020 15:35:59
Problema Nane Status done
Runda FMI No Stress 9 Warmup Compilator cpp-64 | Vezi sursa
Scor 50

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]); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK1020
22ms131kbOK10
3156ms262kbOK1030
4159ms131kbOK10
5163ms131kbOK10
6200ms524kbTime limit exceeded00
7203ms524kbTime limit exceeded0
8200ms524kbTime limit exceeded0
9200ms524kbTime limit exceeded0
10201ms524kbTime limit exceeded0
Punctaj total50

Ceva nu functioneaza?