Problem | mathmadness |
---|---|
User | foodaholic |
Submission Time | 2025-02-01 16:17:18 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
mathmadness.cpp: In function ‘int main()’:
mathmadness.cpp:20:4: error: expected ‘;’ before ‘long’
20 | })
| ^
| ;
21 |
22 | long long x=1;
| ~~~~
mathmadness.cpp:24:3: error: ‘x’ was not declared in this scope
24 | x= lst.first*x + lst.second;
| ^
mathmadness.cpp:24:10: error: ‘class std::vector<std::pair<long long int, long long int> >’ has no member named ‘first’
24 | x= lst.first*x + lst.second;
| ^~~~~
mathmadness.cpp:24:24: error: ‘class std::vector<std::pair<long long int, long long int> >’ has no member named ‘second’
24 | x= lst.first*x + lst.second;
| ^~~~~~
mathmadness.cpp:26:8: error: ‘x’ was not declared in this scope
26 | cout<<x;
| ^