Problem summit
User Quackadodo110411
Submission Time 2024-05-25 11:57:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

summit.cpp: In function ‘int main()’:
summit.cpp:4:12: error: ‘m’ was not declared in this scope; did you mean ‘tm’?
4 | cin >> m >> d;
| ^
| tm
summit.cpp:4:17: error: ‘d’ was not declared in this scope
4 | cin >> m >> d;
| ^
summit.cpp:5:13: error: ‘binarySearch’ was not declared in this scope
5 | cout << binarySearch(1, m) << endl;
| ^~~~~~~~~~~~
summit.cpp:9:30: error: a function-definition is not allowed here before ‘{’ token
9 | bool isPossible(long long k) {
| ^
summit.cpp:21:57: error: a function-definition is not allowed here before ‘{’ token
21 | long long binarySearch(long long left, long long right) {
| ^