竞赛
考级
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; for(int i=1;i<=n;i++){ if(i%2==0){ cout<<i<<" "<<"韩老师真帅!"<<endl; } } return 0; }
逆踪者(小陀螺):离开天目山
#include<iostream> using namespace std; int main(){ int n; cin>>n; for(int i=2;i<=n;i=i+2){ cout<<i<<" "<<"韩老师真帅!"<<endl; } return 0; }
赵依然
#include<iostream> using namespace std; int main(){ long long n; cin>>n; for(int i = 2; i <= n;i+= 2){ cout<<i<<" "<<"韩老师真帅!"<<endl; } }
韩骏恒