吐槽点
第一次6分,第二次25分,只差了一行代码
#include<iostream>
#include<vector>
#include<algorithm>
using namespace std;
struct Node{
int cp = -1;
bool yq = false;
};
int main()
{
int n;
scanf("%d",&n);
Node node
本文记录了PAT Advanced Level实践题目1121 Damn Single的解题过程,从初次获得6分到最终满分的转变,关键在于一行代码的优化。
吐槽点
第一次6分,第二次25分,只差了一行代码
#include<iostream>
#include<vector>
#include<algorithm>
using namespace std;
struct Node{
int cp = -1;
bool yq = false;
};
int main()
{
int n;
scanf("%d",&n);
Node node
216

被折叠的 条评论
为什么被折叠?