Borderou de evaluare (job #1831107)
Utilizator | Data | 17 decembrie 2016 15:12:49 | |
---|---|---|---|
Problema | ClassicTask | Status | done |
Runda | Arhiva Monthly | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘expo’:
user.c:21:18: error: ‘MOD’ undeclared (first use in this function)
return a%MOD;
^
user.c:21:18: note: each undeclared identifier is reported only once for each function it appears in
user.c: In function ‘main’:
user.c:49:1: error: too many arguments to function ‘expo’
fprintf(file2, "%lld", expo(A, B, C));
^
user.c:18:11: note: declared here
long long expo(long long a, long long b){
^
user.c: In function ‘expo’:
user.c:31:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.c: In function ‘main’:
user.c:43:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file1, "%lld", &A);
^
user.c:44:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file1, "%lld", &B);
^
user.c:45:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file1, "%lld", &C);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !