Borderou de evaluare (job #2497514)
Utilizator | Data | 22 noiembrie 2019 19:54:54 | |
---|---|---|---|
Problema | Diamant | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:27:50: error: 'mod' was not declared in this scope
if(k >= i*j) a[k] = b[k-i*j]%mod;
^~~
main.cpp:28:49: error: 'mod' was not declared in this scope
a[k] = (a[k]+b[k]+b[k+i*j])%mod;
^~~
main.cpp:14:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i = 1; i <= n; i++)
^~~
main.cpp:34:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
fout << b[x];
^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !