lx_tyin
  • 首页
  • 归档
  • 分类
  • 标签
  • 关于
  • 友链
  •   
  •   
Codeforces Round 749 div.1 2 A-E

Codeforces Round 749 div.1 2 A-E

A. Windblume Ode 题意:给一个数字集合(\(n\ge3\)),要从中取出尽可能多的数字,使之和为合数 判断总和是否为质数,是质数就随便去掉一个奇数就好了 int n, m; int a[maxn]; void solve(){ cin >> n; int sum = 0; for(int i=1;i<=n;i++)
2021-10-17
题解
#题解 #codeforces
Codeforces Round 748 div.3 A-G

Codeforces Round 748 div.3 A-G

A. Elections 题意:有三个数ABC,问他们分别需要加多少才能成为三个数中最大的 void solve(){ int a, b, c; cin >> a >> b >> c; int mx = max(a, max(b, c)); int mx2 = a+b+c - mx - min(a, min(b, c
2021-10-13
题解
#题解 #codeforces
Codeforces Round 747 div.2 A-E

Codeforces Round 747 div.2 A-E

A. Consecutive Sum Riddle 题意:给定一个 \(n\),要找出 \(l,r\) 使得 \(\sum_{i=l}^{r}i=n\) 解:显然,从 \(-n+1\) 加到 \(n\) 即可 void solve(){ ll n; cin >> n; cout << -n+1 << ' 
2021-10-09
题解
#题解 #codeforces
不稳定扫雷 - LudumDare49

不稳定扫雷 - LudumDare49

你说得对,但《扫雷》是一款FPS电子竞技游戏
2021-10-03
玩具
#unity #自制游戏 #LudumDare
切炸弹小游戏

切炸弹小游戏

蘸豆,爽——
2021-08-27
玩具
#unity #自制游戏
1…345

搜索

Hexo Fluid