Jul 14, 2020CCC 2019 J2 - Time to DecompressUpdated: Jul 21, 2020This is an implementation question. Solution:Input the pair parameters n and x, print n number x. def decode(n, x): print(n*x) m = int(input()) for i in range(m): sr = input().split() nn = int(sr[0]) xx = sr[1] decode(nn, xx)
This is an implementation question. Solution:Input the pair parameters n and x, print n number x. def decode(n, x): print(n*x) m = int(input()) for i in range(m): sr = input().split() nn = int(sr[0]) xx = sr[1] decode(nn, xx)
CCC '24 J5 - Harvest Waterloo#include<iostream> #include <vector> #include <algorithm> #include <cmath> #include <stack> using namespace std; int main() { int r, c,...
CCC '24 J4 - Troublesome Keyss1 = input() s2 = input() silly = '' silly_o = '' quiete = '-' i = 0 j = 0 while i < len(s1) and j < len(s2): if s1[i] != s2[j]: if...
CCC '22 J5 - Square Pool #include<iostream> #include <vector> #include <algorithm> #include <cmath> using namespace std; bool rowcom(pair<int, int> a, pair<int,...
Comments