Problem replacedigits
User 0
Submission Time 2023-12-12 10:57:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

replacedigits.cpp:6:14: error: ‘modint998244353’ does not name a type
6 | using mint = modint998244353;
| ^~~~~~~~~~~~~~~
replacedigits.cpp:76:5: error: ‘mint’ was not declared in this scope; did you mean ‘uint’?
76 | vec<mint> tens, ones;
| ^~~~
| uint
replacedigits.cpp:76:9: error: template argument 1 is invalid
76 | vec<mint> tens, ones;
| ^
replacedigits.cpp:79:5: error: ‘mint’ does not name a type; did you mean ‘uint’?
79 | mint x;
| ^~~~
| uint
replacedigits.cpp: In function ‘S op(S, S)’:
replacedigits.cpp:84:16: error: ‘struct S’ has no member named ‘x’
84 | return S{a.x * tens[b.c] + b.x, a.c + b.c};
| ^
replacedigits.cpp:84:28: error: invalid types ‘int[int]’ for array subscript
84 | return S{a.x * tens[b.c] + b.x, a.c + b.c};
| ^
replacedigits.cpp