Borderou de evaluare (job #2049574)
Utilizator | Data | 27 octombrie 2017 13:34:31 | |
---|---|---|---|
Problema | Functii | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘long long int putere(long long int, long long int)’:
user.cpp:29:42: error: ‘M’ was not declared in this scope
if (n%2==0) return (a*a)%M;
^
user.cpp:30:37: error: ‘M’ was not declared in this scope
else return (x*a*a)%M;
^
user.cpp:32:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:38:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%lld%lld",&n,&s);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !