Problem floors
User asbx
Submission Time 2023-11-17 14:04:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

floors.cpp: In function ‘int main()’:
floors.cpp:20:7: error: redeclaration of ‘int i’
20 | int i = g;
| ^
floors.cpp:17:16: note: ‘long long int i’ previously declared here
17 | for(long long i=1; i<=c; i++){
| ^
floors.cpp:20:11: error: ‘g’ was not declared in this scope
20 | int i = g;
| ^