把
```cpp
for(int i=1;i<=n;i++){
for(int j=1;j<=n;j++){
if(i*j<10){
cout<<0;
}
cout<<i*j;
}
cout<<endl;
}
```
改成
```cpp
for(int i=1,tot=1;i<=n;i++){
for(int j=1;j<=n;j++,tot++){
if(tot<10){
cout<<0;
}
cout<<tot;
}
cout<<endl;
}
```
就行了 @[昨夜白雪](/user/295062)
by MZAutomata @ 2021-06-25 11:58:43
@[A_camel](/user/305073) 为什么呢
by 昨夜白雪 @ 2021-06-28 19:03:25
@[A_camel](/user/305073) 我明白了,谢谢
by 昨夜白雪 @ 2021-06-28 19:04:38