Submission #338100

#TimeUsernameProblemLanguageResultExecution timeMemory
338100NimbostratusDevil's Share (RMI19_devil)C++17
0 / 100
158 ms2156 KiB
#include <bits/stdc++.h> using namespace std; typedef long long ll; const ll INF = 1e15; int TC; int K,cnt[15]; int32_t main() { ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); //freopen("in","r",stdin); //freopen("out","w",stdout); cin >> TC; while(TC--) { cin >> K; int sum = 0; for(int i=1;i<=9;i++) cin >> cnt[i] , sum += cnt[i]; for(int i=1;i<=9;i++) for(int j=1;j<=cnt[i];j++) cout << i; cout << 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...