#include<stdio.h>int main(void){ int t,k,i; scanf("%d",&t); while(t--) { scanf("%d",&k); for(i=0;i<=k;i++) { printf("%c", (97+k)-i); } printf("\n"); } return 0; }
3 2 3 100
cba dcba ���������������������������������������������������������������������~}|{zyxwvutsrqponmlkjihgfedcba
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!