渺小小螃蟹
渺小小螃蟹
全部文章
分类
题解(54)
归档
标签
去牛客网
登录
/
注册
渺小小螃蟹的博客
全部文章
(共54篇)
题解 | #剩下的树#
include<stdio.h> int main(){ int L,m,a,b,left=10000,right=0; while(scanf("%d %d",&L,&m)!=EOF) { for(int i=0;i<m;i++) ...
2021-05-08
2
663
题解 | #手机键盘#
include<stdio.h> include<string.h> int KeyTable[26]={1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,4,1,2,3,1,2,3,4};int main(){char str[200];while(s...
2021-05-08
5
596
题解 | #Day of Week#
include<stdio.h> include<stdbool.h> include <string.h> int daytab[2][13] ={ {0,31,28,31,30,31,30,31,31,30,31,30,31}, {0,31,29,...
2021-05-08
5
694
题解 | #日期类#
//终于碰到了熟悉的题,把日期累加题目中的number改成1就可以。#include<stdio.h>#include<stdbool.h> int daytab[2][13] ={ {0,31,28,31,30,31,30,31,31,30,31,30,31}, ...
2021-05-07
3
632
题解 | #日期差值#
include<stdio.h> include<stdbool.h> include<stdlib.h> int daytab[2][13] ={ {0,31,28,31,30,31,30,31,31,30,31,30,31}, {0,31,29,3...
2021-05-07
1
618
题解 | #日期累加#
include<stdio.h> include<stdbool.h> int daytab[2][13] ={ {0,31,28,31,30,31,30,31,31,30,31,30,31}, {0,31,29,31,30,31,30,31,31,30,31,3...
2021-05-07
2
571
题解 | #打印日期#
include<stdio.h> include<stdbool.h> int daytab[2][13] ={ {0,31,28,31,30,31,30,31,31,30,31,30,31}, {0,31,29,31,30,31,30,31,31,30,31,3...
2021-05-07
2
619
题解 | #今年的第几天?#
include<stdio.h> include<stdbool.h> int daytab[2][13] ={ {0,31,28,31,30,31,30,31,31,30,31,30,31}, {0,31,29,31,30,31,30,31,31,30,31,3...
2021-05-07
3
551
题解 | #abc#
include <stdio.h> main(){ int a,b,c; for(a=0;a<10;a++) { for(b=0;b<10;b++) { for(c=0;c<10;c++) ...
2021-05-07
3
606
题解 | #与7无关的数#
include<stdio.h> int main(){ int i, n, sum=0; scanf("%d",&n); for( i =1; i <= n; i++) { if( i % 7 != 0 && i %...
2021-05-07
1
520
首页
上一页
1
2
3
4
5
6
下一页
末页