Submission #414531

#TimeUsernameProblemLanguageResultExecution timeMemory
414531medmdgMalnaRISC (COI21_malnarisc)C++14
10.19 / 100
2 ms332 KiB
#include <bits/stdc++.h> #define ll long long #define endl "\n" using namespace std; int main() { ll n; cin>>n; cout<<n*(n-1)/2<<endl; for(int i=1;i<n;i++){ for(int j=i+1;j<=n;j++) cout<<"CMPSWP R"<<i<<" R"<<j<<endl; } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...