Submission #339964

#TimeUsernameProblemLanguageResultExecution timeMemory
339964ArKCaEsej (COCI15_esej)C++17
80 / 80
13 ms1408 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(b--){ 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...