Problem unluckyfloors
User Jinxuan
Submission Time 2023-12-20 20:10:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

unluckyfloors.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
unluckyfloors.cpp:4:1: error: ‘string’ does not name a type
4 | string a,b;
| ^~~~~~
unluckyfloors.cpp: In function ‘void getInt(long long int&)’:
unluckyfloors.cpp:9:12: error: ‘getchar_unlocked’ was not declared in this scope
9 | char ch = getchar_unlocked();
| ^~~~~~~~~~~~~~~~
unluckyfloors.cpp: In function ‘void output(long long int)’:
unluckyfloors.cpp:18:2: error: ‘putchar_unlocked’ was not declared in this scope
18 | putchar_unlocked(x%10 +'0');
| ^~~~~~~~~~~~~~~~
unluckyfloors.cpp: In function ‘long long int dp(long long int, bool, bool)’:
unluckyfloors.cpp:21:9: error: ‘a’ was not declared in this scope
21 | if (i==a.length()) return 1;
| ^
unluckyfloors.cpp:25:18: error: ‘a’ was not declared in this scope
25 | if (bound && x>a[i]-'0') brea