求助,我得了20分
我看到记录里面有好多人100分,好多WA的也是20分,本地的测试没问题呀
#include<bits/stdc++.h>
using namespace std;
int n,t,d=1;
int main()
{
cin>>n;
for(int i=0;i<n;i++)
{
for(int j=0;j<n;j++)
{
t++;
if(t<10)cout<<0;
cout<<t;
}
cout<<endl;
}
cout<<endl;
t=0;
for(int i=0;i<n;i++)
{
for(int j=0;j<d;j++)
{
t++;
if(t<10)cout<<0;
cout<<t;
}
cout<<endl;
d++;
}
return 0;
}
我遇到过好多这种问题,所以前来求助,
最后衷心感谢大佬和犇犇们