Problem catfight
User Hengweezy
Submission Time 2024-02-10 03:09:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

catfight.cpp: In function ‘int main()’:
catfight.cpp:6:2: error: ‘ll’ was not declared in this scope
6 | ll a, p;
| ^~
catfight.cpp:7:9: error: ‘a’ was not declared in this scope
7 | cin >> a >> p;
| ^
catfight.cpp:7:14: error: ‘p’ was not declared in this scope
7 | cin >> a >> p;
| ^
catfight.cpp:11:5: error: expected ‘;’ before ‘value’
11 | ll value;
| ^~~~~~
| ;
catfight.cpp:12:10: error: ‘value’ was not declared in this scope
12 | cin >> value;
| ^~~~~
catfight.cpp:16:4: error: expected ‘;’ before ‘index’
16 | ll index =0;
| ^~~~~~
| ;
catfight.cpp:20:8: error: no post-increment operator for type
20 | index++;
| ^~
catfight.cpp:22:7: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’}