Borderou de evaluare (job #1251881)
Utilizator | Data | 29 octombrie 2014 23:10:09 | |
---|---|---|---|
Problema | Ridicare la putere in timp logaritmic | Status | done |
Runda | Arhiva educationala | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘lgput’:
user.c:21:30: error: ‘r’ undeclared (first use in this function)
return l * l % mod * r % mod;
^
user.c:21:30: note: each undeclared identifier is reported only once for each function it appears in
user.c: In function ‘main’:
user.c:29:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen(IN, "r", stdin);
^
user.c:30:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen(OUT, "w", stdout);
^
user.c:32:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%llu %llu", &n, &p);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !