星汐ya
星汐ya
全部文章
分类
归档
标签
去牛客网
登录
/
注册
星汐ya的博客
全部文章
(共8篇)
题解 | 构造序列
#include<bits/stdc++.h> using namespace std; #define int long long signed main() { int n,m; cin>>n>>m; if(n!=m) cout<...
2026-01-28
1
13
题解 | A×A=B
#include<bits/stdc++.h> #include <cmath> using namespace std; #define int long long signed main() { int t; cin>>t; while...
2026-01-28
1
13
题解 | B=A×A
#include<bits/stdc++.h> #include <cmath> using namespace std; #define ll long long int main() { int t; scanf("%d",&t...
2026-01-28
1
13
题解 | A-B≠C
//先乘去掉小数点再计算 #include<bits/stdc++.h> using namespace std; #define ll long long int main() { double a,b,c; scanf("%lf %lf %lf",...
2026-01-28
1
14
题解 | 小红的不动点分配
#include<bits/stdc++.h> using namespace std; #define ll long long int v[200000]={0};//记录每个数出现的次数 int main() { int n; int ans=0; scan...
2026-01-28
2
12
题解 | 学生基本信息输入输出
#include<bits/stdc++.h> using namespace std; int main() { int i; double a,b,c; scanf("%d;%lf,%lf,%lf",&i,&a,&b...
2026-01-27
1
15
题解 | 开学?
#include<bits/stdc++.h> using namespace std; int main() { int x,n; cin>>x>>n; int ans=(x+n)%7; if(!ans) ans=7; c...
2026-01-20
1
16
题解 | 浮点除法
#include<bits/stdc++.h> using namespace std; int main() { double a,b; cin>>a>>b; cout<<a/b; return 0; }
2026-01-20
1
15