Borderou de evaluare (job #2166088)
Utilizator | Data | 13 martie 2018 15:28:27 | |
---|---|---|---|
Problema | Fibo4 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:10:1: error: expected unqualified-id before ‘long’
long long fib[period], a[maxN];
^
user.cpp: In function ‘void Precompute()’:
user.cpp:13:3: error: ‘fib’ was not declared in this scope
fib[0] = 0; fib[1] = 1;
^
user.cpp: In function ‘int main()’:
user.cpp:26:9: error: ‘a’ was not declared in this scope
a[st] = (a[st] + fib[k % period]) % mod;
^
user.cpp:26:26: error: ‘fib’ was not declared in this scope
a[st] = (a[st] + fib[k % period]) % mod;
^
user.cpp:32:9: error: ‘a’ was not declared in this scope
a[i] = (a[i] + a[i-1] + a[i-2]) % mod;
^
user.cpp:34:14: error: ‘a’ was not declared in this scope
g << a[i] << " ";
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !