- 博客(5)
- 收藏
- 关注
原创 5.24日 笔记
HDU-2019 数列有序!Time Limit: 1000 ms / Memory Limit: 32768 kbDescription有n(n<=100)个整数,已经按照从小到大顺序排列好,现在另外给一个整数x,请将该数插入到序列中,并使新的序列仍然有序。Input输入数据包含多个测试实例,每组数据由两行组成,第一行是n和m,第二行是已经有序的n个数的数列。n和m同时...
2019-05-25 14:17:22
423
原创 5.4日 笔记
推箱子#include <stdio.h>#include <stdlib.h>#include <windows.h>int main(){char a[50][50] = {" ### "," #*# "," # # ...
2019-05-04 14:08:59
69
原创 4月份 笔记
HDU—1089#include <stdio.h>int main(){ int a,b; while(scanf("%d%d",&a,&b) != EOF && a && b) { printf("%d\n",a+b); } return 0;}HDU—1090...
2019-04-27 14:15:15
79
原创 4月份 笔记
多组输入#include <stdio.h>int main(){int a, b;while (scanf("%d%d", &a, &b) != EOF)//或者是 ~scanf("%d%d", &a, &b) {printf("%d\n", a + b);}re...
2019-04-21 13:37:52
105
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人