diff --git a/QUSTOJ/1720.c b/QUSTOJ/1720.c new file mode 100644 index 0000000..70065b3 --- /dev/null +++ b/QUSTOJ/1720.c @@ -0,0 +1,28 @@ +#include +#include +#include + +char buff[64]; + +int cnt[10]; + +int main() +{ + int n; + scanf("%d",&n); + for(int i=1;i<=n;i++) + { + sprintf(buff,"%d",i); + int len=strlen(buff); + for(int j=0;j