/ SeriousOJ /

Record Detail

Wrong Answer


  
# Status Time Cost Memory Cost
#1 Wrong Answer 1ms 532.0 KiB
#2 Wrong Answer 2ms 532.0 KiB

Code

#include <bits/stdc++.h>
#define  endl        '\n'
typedef long long ll;
using namespace std;

mt19937 mt_rand(chrono::high_resolution_clock::now().time_since_epoch().count());

const int mod = 1e9 + 7;
const int N = 5e5 + 6;

void Solve() {

    int n;
    cin >> n;
    for (int i = 2 ; i <= n ; i++)
        cout << i << " ";
    cout << 1 << endl;

}

int main() {

    ios::sync_with_stdio(false);
    cin.tie(0);

    //freopen("input.in", "r", stdin);
    //freopen("output.out", "w", stdout);
    int tt = 1, testcase = 1;

    cin >> tt;

    while (tt--) {

        //cout<<"Case "<<testcase++<<": ";

        Solve();
    }
    return 0;
}

Information

Submit By
Type
Submission
Problem
P1210 A. Smallest Permutation
Contest
Educational Round 1
Language
C++17 (G++ 13.2.0)
Submit At
2025-07-14 16:37:41
Judged At
2025-07-14 16:37:41
Judged By
Score
0
Total Time
2ms
Peak Memory
532.0 KiB