Borderou de evaluare (job #2052265)
Utilizator | Data | 30 octombrie 2017 12:34:45 | |
---|---|---|---|
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 ‘int main()’:
user.cpp:15:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; (1<<i) <= p; ++ i)
^
user.cpp:17:22: error: invalid operands of types ‘double’ and ‘int’ to binary ‘operator%’
sol=( sol%1999999973 * (a%1999999973))%1999999973;
^
user.cpp:17:38: error: invalid operands of types ‘double’ and ‘int’ to binary ‘operator%’
sol=( sol%1999999973 * (a%1999999973))%1999999973;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !