Borderou de evaluare (job #2194073)
Utilizator | Data | 12 aprilie 2018 08:56:59 | |
---|---|---|---|
Problema | Bacterii2 | Status | done |
Runda | Arhiva ICPC | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c:14:11: warning: conflicting types for built-in function ‘pow’
long long pow( long long base, int exp ) {
^~~
user.c: In function ‘ntt’:
user.c:75:17: error: expected expression before ‘int’
int a = v[seq + i], b = (1LL * v[seq + l / 2 + i] * roots[e]) % MOD;
^~~
user.c:74:13: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for ( i = 0, e = (inv == 1 ? 0 : MAX_N); i < l / 2; i++, e += c )
^~~
user.c:77:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
v[seq + i] = fast_mod(a + b);
^
user.c:77:41: error: invalid operands to binary + (have ‘int *’ and ‘int *’)
v[seq + i] = fast_mod(a + b);
~ ^
user.c: At top level:
user.c:83:5: error: expected identifier or ‘(’ before ‘if’
if ( inv == -1 ) {
^~
user.c:88:1: error: expected identifier or ‘(’ before ‘}’ token
}
^
user.c: In function ‘main’:
user.c:111:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
for ( fscanf( fin, "%d", &t ); t > 0; t -- ) {
^~~~~~~~~~~~~~~~~~~~~~~
user.c:117:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d", &n );
^~~~~~~~~~~~~~~~~~~~~~~
user.c:120:13: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d", &nr );
^~~~~~~~~~~~~~~~~~~~~~~~
user.c:125:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d", &m );
^~~~~~~~~~~~~~~~~~~~~~~
user.c:128:13: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d", &nr );
^~~~~~~~~~~~~~~~~~~~~~~~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !