Borderou de evaluare (job #1345000)
Utilizator | Data | 17 februarie 2015 10:17:38 | |
---|---|---|---|
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 unsigned int pow(long unsigned int, long unsigned int)’:
user.cpp:7:20: error: ‘c’ was not declared in this scope
return pow(a,b-1)%c*a%p;
^
user.cpp:8:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:12:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld %ld",&a,&b);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !