二分
一只小熊做蹲起
这个作者很懒,什么都没留下…
展开
-
H - Strange fuction
#include<cstdio> #include<cstring> #include<iostream> #include<algorithm> #include<cmath> using namespace std; double x,y; double fx(double x,double y) { return 6*pow(x,7)+8*pow(x,6)+7*pow(x,3)+5*pow(x,2)-y*x; } double ffx(d.原创 2021-04-09 20:11:01 · 79 阅读 · 0 评论 -
2021-04-09
#include<cstdio> #include<algorithm> #include<cmath> #include<iostream> using namespace std; int cmp(int a,int b) { return a>b; } int main() { int n,a[22222],i,j; while(cin>>n) { for(i=0;i<n;i++) { cin&g..原创 2021-04-09 20:09:52 · 63 阅读 · 0 评论 -
E - Can you solve this equation?
#include<cstdio> #include<cstring> #include<iostream> #include<algorithm> using namespace std; double haha(double x) { return 8*x*x*x*x+7*x*x*x+2*x*x+3*x+6; } int main() { int t; scanf("%d",&t); double l,r,mid,m; while(t-..原创 2021-04-09 20:08:44 · 90 阅读 · 0 评论 -
B - Rightmost Digit
#include<cstdio> #include<algorithm> #include<cmath> #include<iostream> using namespace std; int main() { int n; int t,k=0,i; cin>>t; while(t--) { cin>>n; n=n%20; k=n; for(i=1;i<n;i++) { ..原创 2021-04-09 20:06:50 · 76 阅读 · 0 评论 -
A - Count on Canton
A - Count on Canton #include<cstdio> #include<cstring> #include<iostream> #include<algorithm> using namespace std; int main() { int n,i,s,t,x; while(~scanf("%d",&n)) { s=0,t=1,x=0; for(i=1;;i++) { s+=i; if(s>原创 2021-04-09 20:04:24 · 106 阅读 · 0 评论