Borderou de evaluare (job #1911979)
Utilizator | Data | 7 martie 2017 22:30:10 | |
---|---|---|---|
Problema | Ridicare la putere in timp logaritmic | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘long long int pow(long long int, long long int)’:
user.cpp:12:20: error: ‘y’ was not declared in this scope
else y*=x,y%=1999999973,x*=x,x%=1999999973,n=(n-1)/2;
^
user.cpp:14:14: error: ‘y’ was not declared in this scope
return x*y%MOD;
^
user.cpp:15:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !