Borderou de evaluare (job #2558071)
Utilizator | Data | 26 februarie 2020 11:45:33 | |
---|---|---|---|
Problema | Invers modular | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:37:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (((1<<i)&tot)>0)
^~
main.cpp:39:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
a=(a%n)*(a%n))%n;
^
main.cpp:39:17: error: expected ';' before ')' token
a=(a%n)*(a%n))%n;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !