Run ID:94652
提交时间:2024-10-26 09:11:08
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cstdlib> #include<ctime> #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; /*void a(int x){ if(x>100){ return; } cout<<x++<<endl; a(x); } int main(){ int x=1; a(x); return 0; }*/ void a(int x){ if(x>=18){ return; }x+=2; cout<<x<<endl; a(x); } int main(){ int x=8; a(x); return 0; }