Problem matsuri
User Celest
Submission Time 2023-08-14 16:57:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

matsuri.cpp: In function ‘int main()’:
matsuri.cpp:22:21: error: expected primary-expression before ‘|’ token
22 | if(happy[x]-k*|x-start[y]|>max[y]){
| ^
matsuri.cpp:22:33: error: expected primary-expression before ‘>’ token
22 | if(happy[x]-k*|x-start[y]|>max[y]){
| ^
matsuri.cpp:23:27: error: expected primary-expression before ‘|’ token
23 | max[y]=happy[x]-k*|x-start[y]|;
| ^
matsuri.cpp:23:39: error: expected primary-expression before ‘;’ token
23 | max[y]=happy[x]-k*|x-start[y]|;
| ^