Borderou de evaluare (job #2523077)
Utilizator | Data | 13 ianuarie 2020 19:00:19 | |
---|---|---|---|
Problema | Transport Rutier | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:14:26: error: 'BUCK_SIZE' was not declared in this scope
}mst[MAXN], q[MAXM], srt[BUCK_SIZE + 5], newmst[MAXN], act[2 * BUCK_SIZE + 5];
^~~~~~~~~
main.cpp:14:64: error: 'BUCK_SIZE' was not declared in this scope
}mst[MAXN], q[MAXM], srt[BUCK_SIZE + 5], newmst[MAXN], act[2 * BUCK_SIZE + 5];
^~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:118:7: error: 'srt' was not declared in this scope
srt[++k] = q[i];
^~~
main.cpp:119:10: error: 'srt' was not declared in this scope
sort(srt + 1, srt + k + 1);
^~~
main.cpp:144:9: error: 'act' was not declared in this scope
act[++p] = {f1(mst[i].u), f1(mst[i].v), mst[i].c};
^~~
main.cpp:163:13: error: 'act' was not declared in this scope
if (act[j].c <= q[i].c) {
^~~
main.cpp:167:9: error: 'act' was not declared in this scope
act[j + 1] = act[j];
^~~
main.cpp:171:16: error: 'act' was not declared in this scope
if (u1(act[j].u, act[j].v))
^~~
main.cpp: In function 'int u32()':
main.cpp:76:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread(buff, 1, LEN, stdin);
^
main.cpp:83:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread(buff, 1, LEN, stdin);
^
main.cpp: In function 'int main()':
main.cpp:92:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("rutier.in", "r", stdin);
^
main.cpp:93:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("rutier.out", "w", stdout);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !