Borderou de evaluare (job #2166933)
| Utilizator | Data | 13 martie 2018 19:31:31 | |
|---|---|---|---|
| Problema | Elementul majoritar | Status | done |
| Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int rise(int, int)’:
user.cpp:7:34: error: ‘MOD’ was not declared in this scope
if(b % 2 == 0) return (x * x) % MOD;
^
user.cpp:8:21: error: ‘MOD’ was not declared in this scope
return (((x * x) % MOD) * a) % MOD;
^
user.cpp:10:1: error: expected initializer before ‘int’
int main()
^
user.cpp:14:1: error: expected ‘}’ at end of input
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
