Borderou de evaluare (job #2483053)
Utilizator | Data | 29 octombrie 2019 11:00:20 | |
---|---|---|---|
Problema | Rest | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:12:1: error: expected initializer before 'long'
long long putB[dim];
^~~~
main.cpp: In function 'void update(int, int, int, int, int)':
main.cpp:16:9: error: 'arb' was not declared in this scope
arb[nod] = val % p;
^~~
main.cpp:26:9: error: 'arb' was not declared in this scope
arb[nod] = ((arb[2 * nod] * putB[dr - m]) % p + arb[2 * nod + 1]) % p;
^~~
main.cpp:26:37: error: 'putB' was not declared in this scope
arb[nod] = ((arb[2 * nod] * putB[dr - m]) % p + arb[2 * nod + 1]) % p;
^~~~
main.cpp: In function 'long long int query(int, int, int, int, int)':
main.cpp:32:16: error: 'arb' was not declared in this scope
return arb[nod];
^~~
main.cpp:42:27: error: 'putB' was not declared in this scope
rez = ((rez * putB[min(dr, finish) - m]) % p + query(2 * nod + 1, m + 1, dr, start, finish)) % p;
^~~~
main.cpp: In function 'int main()':
main.cpp:60:5: error: 'putB' was not declared in this scope
putB[0] = 1;
^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !