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

Compile Error

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