# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
339963 | 2020-12-26T12:34:33 Z | ArKCa | Esej (COCI15_esej) | C++17 | 13 ms | 1388 KB |
#include<bits/stdc++.h> #define N 200005 #define ll long long #define int ll #define N 200005 using namespace std; string s="abcdefghij"; int a,b; int32_t main(){ // freopen("a.gir","r",stdin); // freopen("a.cik","w",stdout); scanf("%lld %lld",&a,&b); while(a--){ cout<<s<<" "; next_permutation(s.begin(), s.end()); } }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 364 KB | Output is correct |
2 | Correct | 1 ms | 256 KB | Output is correct |
3 | Incorrect | 0 ms | 364 KB | Output isn't correct |
4 | Incorrect | 0 ms | 364 KB | Output isn't correct |
5 | Correct | 1 ms | 364 KB | Output is correct |
6 | Incorrect | 2 ms | 364 KB | Output isn't correct |
7 | Incorrect | 2 ms | 384 KB | Output isn't correct |
8 | Correct | 11 ms | 1260 KB | Output is correct |
9 | Correct | 13 ms | 1388 KB | Output is correct |
10 | Incorrect | 1 ms | 364 KB | Output isn't correct |