Borderou de evaluare (job #1000887)
Utilizator | Data | 23 septembrie 2013 21:40:38 | |
---|---|---|---|
Problema | Codificare | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int PowLog(long long int, int)’:
user.cpp:20:13: error: ‘p’ was not declared in this scope
p = (1LL*p % Mod * n%Mod)%Mod;
^
user.cpp:25:12: error: ‘p’ was not declared in this scope
return p;
^
user.cpp:14:10: warning: unused variable ‘longp’ [-Wunused-variable]
long longp = 1;
^
user.cpp:26: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 !