Problem openingshop0
User weccs
Submission Time 2025-12-19 11:35:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

openingshop0.cpp: In function ‘int main()’:
openingshop0.cpp:11:5: error: expected initializer before ‘cin’
11 | cin >> n >> t >> k;
| ^~~
openingshop0.cpp:20:73: error: ‘k’ was not declared in this scope
20 | ans = max(ans,(lower_bound(customers,customers+n,customers[i] + k) - customers-i-1));
| ^