标签:签到 head std spl gre lap aac tor play
5
3
1. 0+5=
2. 1+4=
3. 2+3=
1. 0+3=
2. 1+2=
签到题 一个循环输出即可
1 #include<stdio.h> 2 int main() 3 { 4 int n; 5 while(scanf("%d",&n)!=EOF){ 6 int k = 1; 7 for(int i = 0;i<=n/2;i++){ 8 printf("%d. %d+%d=\n",k++,i,n-i); 9 } 10 } 11 }
标签:签到 head std spl gre lap aac tor play
原文地址:https://www.cnblogs.com/DWVictor/p/10202515.html