#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;
}
# |
결과 |
실행 시간 |
메모리 |
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 |