AC日记——Little Elephant and Function codeforces 221a

A - Little Elephant and Function

 

思路:

  水题;

 

代码:

#include <cstdio>
#include <iostream>

using namespace std;

int n;

int main()
{
    scanf("%d",&n);
    printf("%d ",n);
    for(int i=1;i<n;i++) printf("%d ",i);
    return 0;
}

 

posted @ 2017-05-10 22:28  IIIIIIIIIU  阅读(181)  评论(0编辑  收藏  举报