Problem pushups
User nothing
Submission Time 2023-09-04 15:52:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pushups.cpp: In function ‘int main()’:
pushups.cpp:3:2: error: ‘cin’ was not declared in this scope
3 | cin >> T;
| ^~~
pushups.cpp:5:2: error: ‘vector’ was not declared in this scope
5 | vector<long long> inputs(T);
| ^~~~~~
pushups.cpp:5:9: error: expected primary-expression before ‘long’
5 | vector<long long> inputs(T);
| ^~~~
pushups.cpp:9:9: error: ‘inputs’ was not declared in this scope
9 | inputs[i] = N;
| ^~~~~~
pushups.cpp:12:12: error: expected primary-expression before ‘long’
12 | vector<long long> w = { 1, 2, 3, 4, 6, 8, 10, 12, 16, 18, 20, 24, 30, 36, 42, 48, 60, 72, 84, 90, 96, 108, 120, 144, 168, 180, 210, 216, 240, 288, 300, 336, 360, 420, 480, 504, 540, 600, 630, 660, 720, 840, 960, 1008, 1080, 1200, 1260, 1440, 1560, 1620, 1680, 1800, 1920, 1980, 2100, 2160, 2340, 2400, 2520, 2880, 3024, 3120, 3240, 3360, 3600, 3780, 3960, 4200,