Submission #1002634
Source Code Expand
#include <bits/stdc++.h> using namespace std; int main() { stirng S; cin >> S; int N; sort(S.begin(), S.end()); int a = 0; do { a++; if(a == N) { cout << S << endl; break; } } while(next_permutation(S.begin(), S.end())); return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - 25個の文字列 |
User | motxx |
Language | C++ (GCC 4.9.2) |
Score | 0 |
Code Size | 246 Byte |
Status | CE |
Compile Error
./Main.cpp: In function ‘int main()’: ./Main.cpp:4:1: error: ‘stirng’ was not declared in this scope stirng S; cin >> S; int N; ^ ./Main.cpp:4:18: error: ‘S’ was not declared in this scope stirng S; cin >> S; int N; ^