Problem summarising2024
User boaznumberd5555
Submission Time 2025-01-01 17:21:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

xingyang.cpp: In function ‘long long int xythesnake(int, std::vector<int>)’:
xingyang.cpp:18:22: error: ‘n’ was not declared in this scope
18 | for(int i = 0; i<n; i++) {
| ^
xingyang.cpp:22:9: error: redeclaration of ‘std::string x’
22 | string x = "1";
| ^
xingyang.cpp:17:9: note: ‘std::string x’ previously declared here
17 | string x = "1";
| ^
xingyang.cpp:23:19: error: ‘n’ was not declared in this scope
23 | for(int i = 0; i<n; i++){
| ^