Borderou de evaluare (job #1846143)
Utilizator | Data | 12 ianuarie 2017 11:42:19 | |
---|---|---|---|
Problema | Div3 | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘Comb’:
user.c:32:26: warning: unused variable ‘j’ [-Wunused-variable]
long long i, result = 1, j=1;
^
user.c: In function ‘main’:
user.c:63:97: error: expected ‘)’ before ‘;’ token
sum = (sum + ((Comb(K, K-i) * Expo(r[0], K-i))%MOD * (Comb(i, i/2) * (r1 * r2)%MOD)%MOD)%MOD;
^
user.c:66:1: error: expected ‘;’ before ‘}’ token
}
^
user.c:55:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file1, "%lld", &N);
^
user.c:56:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file1, "%lld", &K);
^
user.c:59:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file1, "%lld", &item);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !