摘要: P1427 小鱼的数字游戏 #include <stdio.h> void f(long long *a) { int c = 0; for (int i = 0; i < 101; i++) { a[i] = 1; } while(a[c]==1){ scanf("%lld",&a[c]); if 阅读全文
posted @ 2024-04-11 21:10 pengfu_xin 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 2024.4.11 P1047 [NOIP2005 普及组] 校门外的树 #include<stdio.h> void f(int *arry){ for(int i=0;i<10001;i++){ arry[i]=0; } int total=0,num=0; int m_1=0,m_2=0; s 阅读全文
posted @ 2024-04-11 20:40 pengfu_xin 阅读(2) 评论(0) 推荐(0) 编辑