Borderou de evaluare (job #2527127)
Utilizator | Data | 19 ianuarie 2020 17:50:56 | |
---|---|---|---|
Problema | Carry | 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:24:97: error: 'MOD' was not declared in this scope
D[0][p][j] = ( D[0][!p][j]*(10-(int(s[i])-'0')) + D[1][!p][j]*(10-(int(s[i])-'0'+1)) )%MOD;
^~~
main.cpp:25:112: error: 'MOD' was not declared in this scope
for(int j=1;j<=K;j++) D[1][p][j] = ( D[0][!p][j-1]*(int(s[i])-'0') + D[1][!p][j-1]*(int(s[i])-'0'+1) )%MOD;
^~~
main.cpp:29:51: error: 'MOD' was not declared in this scope
int ans = ( D[0][!p][K]*(9-(int(s[1])-'0')) )%MOD;
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !