Submission #1002698

#TimeUsernameProblemLanguageResultExecution timeMemory
1002698gabistroehMalnaRISC (COI21_malnarisc)C++14
10.19 / 100
6 ms348 KiB
#include<bits/stdc++.h> using namespace std; int main(){ int N; cin >> N; cout << (long long int)(N*(N-1))/2 << endl; for(int i=N-1; i>=1; i--){ for(int j=1; j<=i; j++){ cout << "CMPSWP R" << j << " R" << j+1 << 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...