Borderou de evaluare (job #2389567)
Utilizator | Data | 27 martie 2019 11:30:04 | |
---|---|---|---|
Problema | Xp | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void creaza_bucata(int)':
main.cpp:7:5: error: 'k' was not declared in this scope
k ++;
^
main.cpp:8:5: error: 'buc' was not declared in this scope
buc[k].a = a;
^~~
main.cpp:11:33: error: 'x' was not declared in this scope
for (int i = y; i <= min (y+x-1,n); i ++) {
^
main.cpp:11:37: error: 'n' was not declared in this scope
for (int i = y; i <= min (y+x-1,n); i ++) {
^
main.cpp:12:9: error: 'val' was not declared in this scope
val = max(1, ((i % p) ^ (((a + 1) & (b + 1)) % p)) % p);
^~~
main.cpp:12:28: error: 'p' was not declared in this scope
val = max(1, ((i % p) ^ (((a + 1) & (b + 1)) % p)) % p);
^
main.cpp:14:9: error: 'ax' was not declared in this scope
ax = ((a-1 + p - 1) ^ (b-1 + 1)) % p;
^~
main.cpp:15:9: error: 'bx' was not declared in this scope
bx = ((a-1 + p - 1) | (b-1 + 1)) % p;
^~
main.cpp: In function 'int main()':
main.cpp:22:12: error: 'n' was not declared in this scope
in >> n >> a >> b >> p >> q;
^
main.cpp:22:27: error: 'p' was not declared in this scope
in >> n >> a >> b >> p >> q;
^
main.cpp:22:32: error: 'q' was not declared in this scope
in >> n >> a >> b >> p >> q;
^
main.cpp:23:5: error: 'x' was not declared in this scope
x = sqrt (n);
^
main.cpp:23:16: error: 'sqrt' was not declared in this scope
x = sqrt (n);
^
main.cpp:27:5: error: 'part1' was not declared in this scope
part1[0] = 1;
^~~~~
main.cpp:28:5: error: 'part2' was not declared in this scope
part2[k+1] = 1;
^~~~~
main.cpp:28:11: error: 'k' was not declared in this scope
part2[k+1] = 1;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !