Submission #339970

# Submission time Handle Problem Language Result Execution time Memory
339970 2020-12-26T13:02:54 Z MertD014 Esej (COCI15_esej) C++17
80 / 80
36 ms 948 KB
#include <bits/stdc++.h>
#define ll long long
using namespace std;
int a,b;
 
void ff(int x){
	x++;
	while(x){
		printf("%c",'a'+x%10);
		x/=10;
	}
	printf(" ");
}
 
 
int main(){
	cin>>a>>b;
	for(int i=0;i<b;i++) ff(i);
	return 0;
}
# Verdict Execution time Memory Grader output
1 Correct 1 ms 364 KB Output is correct
2 Correct 1 ms 364 KB Output is correct
3 Correct 1 ms 364 KB Output is correct
4 Correct 1 ms 364 KB Output is correct
5 Correct 2 ms 364 KB Output is correct
6 Correct 9 ms 620 KB Output is correct
7 Correct 35 ms 876 KB Output is correct
8 Correct 36 ms 876 KB Output is correct
9 Correct 34 ms 876 KB Output is correct
10 Correct 35 ms 948 KB Output is correct