牛客669158664号
牛客669158664号
全部文章
分类
题解(16)
归档
标签
去牛客网
登录
/
注册
牛客669158664号的博客
全部文章
(共16篇)
题解
include<stdio.h> int main(){ int N; while(scanf("%d",&N)!=EOF) { int a[10000],m; a[0]=1; for(int i=0...
C
2021-09-15
0
358
题解 |
include<stdio.h> include<string.h> int main(){ char s[1000],t[1000]; while(scanf("%s",&s)!=EOF) { scanf(&quo...
2021-08-16
0
470
题解 | #删数#
include<stdio.h> include<math.h> int main(){ long h; while(scanf("%ld",&h)!=EOF) { for(long i=sqrt(h);i>0;i-...
2021-08-16
0
478
题解 | #删数#
include<stdio.h> int main(){ int n,count1=0,count2=0; float average,total; while(scanf("%d",&n)!=EOF) { if(n<...
2021-08-09
0
398
题解 | #删数#
include<stdio.h> int main(){ double n; while(scanf("%lf",&n)!=EOF) { double i=0; int flag; if(n>0...
2021-08-09
0
400
题解 | #删数#
include<stdio.h> int fun(int x,int y){ if(x==y) return x; else if(x>y) return fun(x-y,y); else return fun(x,y-x);}int main(){ int...
2021-08-09
0
365
题解 | #删数#
include<stdio.h> include<string.h> int main(){ char str[10000]; while(gets(str)!=NULL) { char a[100]={0}; int j=0; ...
2021-08-09
0
409
题解 | #删数#
include<stdio.h> include<math.h> int judge(int i,int n,int *v,int sum1,int sum2) { if(i==n) return abs(sum1)==sum2?1:0; el...
2021-08-09
0
365
题解 | #删数#
//递推公式:f[1] = 0 ,f[n] = (f[n - 1] + K) mod n //如果想了解:http://blog.csdn.net/taoyanqi8932/article/details/52335719#include <stdio.h>int lastNum(int...
2021-08-09
1
555
题解 | #数独#
//AC代码:#include<stdio.h>#include<stdbool.h>int G[9][9],res=0;void dfs(int);bool judge();int main(){ int i,j; for(i=0;i<9;i++) ...
2021-08-09
1
630
首页
上一页
1
2
下一页
末页