Files
OI-source/history_source/ccf 入门篇/U4/4.4.4.cpp
2023-08-03 09:22:52 +08:00

17 lines
211 B
C++

#include<iostream>
using namespace std;
int main()
{
int n;
while(true)
{
cin>>n;
for(int i=1;i<=n;i++)
{
for(int a=1;a<=i;a++) cout<<a<<"*"<<i<<"="<<a*i<<" ";
cout<<endl;
}
cout<<endl;
}
}