- 博客(3)
- 问答 (1)
- 收藏
- 关注
原创 蒟蒻打CF#729div 2
蒟蒻打CF#729div 2A. Odd SetB. Plus and MultiplyC. Strange FunctionA. Odd Set2n个数中取n pair ,每个要pair要有奇数又要有偶数,还算简单,输入时记一下奇数和偶数的数量是不是相等。用计数器cnt,遇奇数加一,偶数减一,看读到最后cnt为0否。#include<bits/stdc++.h>using namespace std;int main(){ int t; int n; int cnt=0;
2021-07-04 21:03:59
167
原创 蒟蒻打校赛#1
蒟蒻菜了,被队佬吊打A.三角形略B. 求gcd略C.ab略D.isprime大于3的prime必满足6n+1 or 6*n-1 ,从2到判断的 那个数的平方根 逐个判断能否整除那个数E.高精度打不来,逃ctrl v了大佬的AC码#include<iostream>#include<cstdio>#include<cstring>using namespace std;int ans,t,pos,n[1005],p[1005];char N
2020-12-07 17:26:53
101
原创 蒟蒻打cf#688 div2
A题waterI am water大家同时出发,如果要相撞,必有出发横坐标==纵坐标,比较输入的两个数组有多少个元属相同及为答案。#include<bits/stdc++.h>using namespace std;#define rei register inttypedef long long LL;inline void read(int &x){ int f=1;char s=getchar(); while(s>'9'||s<'0'){f=-
2020-12-07 16:55:15
123
空空如也
tensorflow计算auc时出现报错
2022-04-21
TA创建的收藏夹 TA关注的收藏夹
TA关注的人