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;
}

 

相关文章:

  • 2022-02-24
  • 2021-07-21
  • 2021-07-13
  • 2021-11-08
  • 2021-08-27
  • 2021-10-14
  • 2021-09-19
  • 2022-12-23
猜你喜欢
  • 2022-01-14
  • 2021-08-22
  • 2022-03-02
  • 2022-02-21
  • 2022-01-28
  • 2021-07-08
  • 2021-05-29
相关资源
相似解决方案