2961 - 输出奇数
输出1,3,5,7...17,19。每个数字后面有一个换行符。
Input
本题无输入。
Output
每个数字后面有一个换行。
Examples
Input
no input needed
Output
1 3 5 7 9 11 13 15 17 19
Solution C
#include<stdio.h> int main() { for(int i=0;i<10;i++){ printf("%d\n",i*2+1); } return 0; }
输出1,3,5,7...17,19。每个数字后面有一个换行符。
本题无输入。
每个数字后面有一个换行。
no input needed
1 3 5 7 9 11 13 15 17 19
#include<stdio.h> int main() { for(int i=0;i<10;i++){ printf("%d\n",i*2+1); } return 0; }