Submission #339963

#TimeUsernameProblemLanguageResultExecution timeMemory
339963ArKCaEsej (COCI15_esej)C++17
40 / 80
13 ms1388 KiB
#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 (stderr)

esej.cpp: In function 'int32_t main()':
esej.cpp:14:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   14 |  scanf("%lld %lld",&a,&b);
      |  ~~~~~^~~~~~~~~~~~~~~~~~~
#Verdict Execution timeMemoryGrader output
Fetching results...