Best 题解
彩蛋题。
此题的剪贴板共分为 部分:
Part 1 - 5xxxxxxx
在题目描述中的代码块中,第三十四行
// freopen("1.st","=",5);
中,可得出 的信息,即剪贴板第 位为 5。
Part 2 - 5lxxxxxx
在输出格式中,
2nd 输出 = 试试?这与数据点对应
如果提交输出 = 的数据,会得到 #12 AC。对应的字母为 l。
Part 4 - 5lhpcxxx
这是题目背景第 行的 Markdown:
**这是一道彩蛋题。**[](5c)
易得第 位为 c。
Part 5 - 5lhpckxk
在输入格式中,
代表第 位为 k。
Part 6 - 5lhpcktk
样例为
Input 7 Output t
对应第 位为 t。
进入对应剪贴板得到解密字符串为 goodTeckRag=1。
由此字符串编写代码即可。
Code
#include<iostream>
#include<string>
using namespace std;
#define int long long
string s="goodTeckRag=1";
signed main(){
int n;
cin>>n;
cout<<s[n-1]<<endl;
return 0;
}