- 博客(3)
- 收藏
- 关注
原创 磁带最优存储问题
贪心得每次都要最小值。#include <stdio.h>#include <stdlib.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop */double *get_P(int *count, int len);...
2018-05-28 09:29:15 2042
原创 租用游艇问题
#include <stdio.h>#include <stdlib.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop */int main(int argc, char *argv[]) { int n; in...
2018-05-14 09:10:40 776
原创 数字三角问题
上代码:#include <stdio.h>int main(int argc, char *argv[]) { int n; scanf("%d",&n); int data[100][100]; int i =0; int j= 0; for(i=1; i<=n; i++){ for(j=1; j<=i; j++) { scanf("%d...
2018-05-07 09:35:48 237
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人