B3812 [语言月赛 202307] std::string 题解
Bc2_Ch1ckenPr1nce · · 题解
B3812 [语言月赛 202307] std::string 题解
problem 1
很显然的,用 ans + ans = base 来存储 HelloLuogu 在
problem 2
我们可以发现,第二个循环的循环范围是
code
#include <bits/stdc++.h>
using namespace std;
const int kMaxN = -1;
string s[3] = {"", "100000", "5\n0\n114\n0\n114\n514"};
int main() {
int id;
cin >> id;
cout << s[id];
return 0;
}