Pagini recente » Borderou de evaluare (job #1299882) | Cod sursa (job #2591536) | Cod sursa (job #1911608) | Cod sursa (job #462036) | Borderou de evaluare (job #1822054)
Borderou de evaluare (job #1822054)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:190:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d", &k, &n);
^
user.cpp:195:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &bit[i]);
^
user.cpp:201:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d", &a, &b);
^
user.cpp: In function ‘int bitsMax()’:
user.cpp:173:76: warning: ‘pozb’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(bitb[i] == 0 && bita[i] == 0 && bit[i] >= 0 && okb == 0 && pozb != i)
^
user.cpp:140:38: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
bits[poz] = 1;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 12ms | 280kb | OK | 10 |
| 2 | 0ms | 272kb | OK | 10 |
| 3 | Depăşit | 272kb | Time limit exceeded. | 0 |
| 4 | Depăşit | 272kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 256kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 256kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 252kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 252kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 252kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 256kb | Time limit exceeded. | 0 |
| Punctaj total | 20 |