Problem finalday
User Pranav
Submission Time 2024-12-09 11:47:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

finalday.cpp: In function ‘int main()’:
finalday.cpp:17:14: error: invalid operands of types ‘const char [4]’ and ‘int’ to binary ‘operator*’
17 | cout<<"Yes"*n;
| ~~~~~^~
| | |
| | int
| const char [4]
finalday.cpp:18:3: error: break statement not within loop or switch
18 | break;
| ^~~~~
finalday.cpp:21:21: error: ‘max’ cannot be used as a function
21 | int max = max(sums)
| ^