#include <iostream> #include <cstdlib> using namespace std; /* run this program using the console pauser or add your own getch, system("pause") or input loop */
#include <iostream> #include <cstdlib> using namespace std; /* run this program using the console pauser or add your own getch, system("pause") or input loop system("pause") or input loop */
#include <iostream> #include <cstdlib>> using namespace std; /* run this program using the console pauser or add your own getch, system("pause") or input loop */
#include <iostream> #include<cstdlib> using namespace std;; /* run this program sing the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char** argv) { int n; cin >> n; for (int j = 1; j <= n; j++) { for (int i = 1; i <= j; i++) cout << i; cout << endl; } system("pause"); return 0; }
#include <iostream> #include <cstdlib> using namespace std; /* run this progrom using the console pauser or add your own getch, system("pause") or input loop */
#include<iostream> #include<cstdlib> using namespace std; /* run this program using the console pauser or add your own getch, system("pause") or input loop*/
int main(int argc, char** argv) { int n; cin >> n; cout << n << endl; for (int j = 1; j<= n; j++) { for (int i = 1; i <= j; i++) cout << i; cout << endl; } system("pause"); return 0; }
#include <iostream> #include <cstdlib> using namespace std; /* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char** argv) { int n; for(int j=1;j<=n;j++) { for(int i=1;i<=j;i++) cout<<i; cout<<endl; }
#include <iostream> #include <cstdlib> using namespace std; /* run this program using the console pauser or add your own getch, system("pause") or input loop */
#include <iostream> #include <cstdlib> /* run this program using the console pauser or add your own getch, system("pause") or input loop */ using namespace std; int main(int argc, char** argv) { int n; cin>>n; cout<<n<<endl; for(int j=1; j<=n; j++) { for(int i=1; i<=j; i++) cout<<i; cout<<endl; } system("pause"); return 0; }
#include <iostream> #include <cstdlib> using namespace std; /* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char** argv) { int n; cin>>n; for(int j=1;j<=n;j++) { for(int i=1;i<=j;i++) cout<<i; cout<<endl; }
#include <iostream> #include <cstdlib> using namespace std; /* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char** argv) { int n; cin>>n; for(int j=1;j<=n;j++) { for(int i=1;i<=j;i++) cout<<i; cout<<endl; }
#include <iostream> #include<cstdlib> using namespace std; /* run this program using the console pauser or add your own getch, system("pause") or input loop system("pause") or input loop */ int main(int argc, char** argv) { int n; cin>>n; cout<<n<<endl; for(int j=1; j<=n;j++) { for(int i=1; i<=j; i++) cout<<'i'; cout<<endl;
using namespace std; /* run this program using the console pauser or add your own getch, system("pause") or input loop system("pause") or input loop */ int main(int argc,char** arcgv){
27 則留言:
include <iostream>
using namespace std;
int main()
{
int n;
cin >> n;
for(int i=1;i<=n;i++)
{
for (int j=1;j<=i;j++)
cout<<j;
cout<<endl;
}
system("pause");
return 0;
}
#include <iostream>
using namespace std;
int main()
{
int n;
cin>>n;
cout<<n<<endl;
for(int j=1;j<=n;j++)
{
for(int i=1;i<=j;i++)
cout<<i;
cout<<endl;
}
system("pause");
return 0;
}
#include <iostream>
#include <cstdlib>
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char** argv) {
int n;
cin>>n;
cout<<n<<endl;
for(int j=1;j<=n;j++)
{
for(int i=1;i<=j;i++)
cout<<i;
cout<<endl;
}
system("pause");
return 0;
}
#include <iostream>
#include <cstdlib>
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop
system("pause") or input loop */
int main(int argc, char** argv) {
int n;
cin>>n;
cout<<n<<endl;
for(int j=1; j<=n; j++)
{
for(int i=1; i<=j; i++)
cout<<'i';
cout<<endl;
}
system("pause");
return 0;
}
#include <iostream>
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char** argv) {
int n;
cin>>n;
cout<<n<<endl;
for(int j=1; j<=n; j++)
{
for(int i=1; i<=j; i++)
cout<<i;
cout<<endl;
}
system("pause");
return 0;
}
#include <iostream>
#include <cstdlib>>
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char** argv) {
int n;
cin>>n;
cout<<n<<endl;
for(int j=1; j<=n; j++)
{
for(int i=1; i<=j; i++)
cout<<i;
cout<<endl;
}
system("pause");
return 0;
}
#include <iostream>
#include <cstdlib>
using namespace std;
int main(int argc, char** argv)
{
int n;
cin>>n;
cout<<n<<endl;
for(int j=1; j<=n; j++)
{
for(int i=1;i<=j; i++)
cout<<i;
cout<<endl;
}
system("pause");
return 0;
}
#include <iostream>
#include<cstdlib>
using namespace std;;
/* run this program sing the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char** argv) {
int n;
cin >> n;
for (int j = 1; j <= n; j++)
{
for (int i = 1; i <= j; i++)
cout << i;
cout << endl;
}
system("pause");
return 0;
}
#include <iostream>
#include <cstdlib>
using namespace std;
/* run this progrom using the console pauser or add your own getch,
system("pause") or input loop */
int main(int argc, char** argv) {
int n;
cin>>n;
for(int j=1; j<=n; j++)
{
for(int i=1; i<=j; i++)
cout<<i;
cout<<endl;
}
system("pause");
return 0;
}
#include<iostream>
#include<cstdlib>
using namespace std;
/* run this program using the console pauser or add your own getch,
system("pause") or input loop*/
int main(int argc, char** argv) {
int n;
cin >> n;
cout << n << endl;
for (int j = 1; j<= n; j++)
{
for (int i = 1; i <= j; i++)
cout << i;
cout << endl;
}
system("pause");
return 0;
}
#include <iostream>
#include <cstdlib>
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char** argv) {
int n;
cin>>n;
for(int j=1;j<=n;j++)
{
for(int i=1;i<=j;i++)
cout<<i;
cout<<endl;
}
system("pause");
return 0;
}
#include <iostream>
#include <cstdlib>
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char** argv) {
int n;
for(int j=1;j<=n;j++)
{
for(int i=1;i<=j;i++)
cout<<i;
cout<<endl;
}
system("pause");
return 0;
}
#include <iostream>
#include <cstdlib>
using namespace std;
/* run this program using the console pauser or add your own getch,
system("pause") or input loop */
int main(int argc, char** argv) {
int n;
cin>>n;
cout<<n<<endl;
for(int j=1; j<=n; j++)
{
for(int i=1; i<=j; i++)
cout<<i;
cout<<endl;
}
system("pause");
return 0;
}
#include <iostream>
#include <cstdlib>
using namespace std;
int main(int argc, char** argv) {
int n;
cin>>n;
for(int j=1; j<=n; j++)
{
for(int i=1; i<=j ;i++)
cout<<i;
cout<<endl;
}
system("pause");
return 0;
}
#include <iostream>
#include <cstdlib>
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char** argv)
{
int n;
cin>>n;
for(int j=1;j<=n;j++)
{
for(int i=1; i<=j; i++)
cout<<i;
cout<<endl;
}
system("pause");
return 0;
}
#include <iostream>
#include <cstdlib>
using namespace std;
int main(int argc,char** argv)
{
int n;
cin>>n;
for(int j=1 ; j<=n ; j++)
{
for(int i=1; i<=j ; i++)
cout<<i;
cout<<endl;
}
system("pause");
return 0;
}
#include <iostream>
#include <cstdlib>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
using namespace std;
int main(int argc, char** argv) {
int n;
cin>>n;
cout<<n<<endl;
for(int j=1; j<=n; j++)
{
for(int i=1; i<=j; i++)
cout<<i;
cout<<endl;
}
system("pause");
return 0;
}
#include <iostream>
#include <cstdlib>
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char** argv) {
int n;
cin>>n;
cout<<n<<endl;
for(int i=1;i<=n;i++)
{
for(int j=1;j<=i;j++)
cout<<j;
cout<<endl;
}
system("pause");
return 0;
}
#include <iostream>
using namespace std;
int main(int arc, char** argv){
int n;
cin>>n;
for(int j=1; j<=n; j++)
{
for(int i=1; i<=j; i++)
cout<<i;
cout<<endl;
}
system("pause");
return 0;
}
#include <iostream>
using namespace std;
int main(int arc, char** argv){
int n;
cin>>n;
for(int j=1; j<=n; j++)
{
for(int i=1; i<=j; i++)
cout<<i;
cout<<endl;
}
system("pause");
return 0;
}
#include <iostream>
#include <cstdlib>
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char** argv) {
int n;
cin>>n;
for(int j=1;j<=n;j++)
{
for(int i=1;i<=j;i++)
cout<<i;
cout<<endl;
}
system("pause");
return 0;
}
#include <iostream>
#include <cstdlib>
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char** argv) {
int n;
cin>>n;
for(int j=1;j<=n;j++)
{
for(int i=1;i<=j;i++)
cout<<i;
cout<<endl;
}
system("pause");
return 0;
}
#include <iostream>
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char** argv) {
int n;
cin>>n;
cout<<n<<endl;
for (int j=1; j<=n; j++)
{
for(int i=1; i<=j; i++)
cout<<'$';
cout<<endl;
}
system("pause");
return 0;
}
#include <iostream>
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char** argv) {
int n;
cin>>n;
cout<<n<<endl;
for(int j=1;j<=n;j++)
{
for(int i=1;i<=j;i++)
cout<<j;
cout<<endl;
}
return 0;
}
#include <iostream>
#include<cstdlib>
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop
system("pause") or input loop */
int main(int argc, char** argv) {
int n;
cin>>n;
cout<<n<<endl;
for(int j=1; j<=n;j++)
{
for(int i=1; i<=j; i++)
cout<<'i';
cout<<endl;
}
system("pause");
return 0;
}
#include <iostream>
#include <cstdlib>
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop
system("pause") or input loop */
int main(int argc,char** arcgv){
int n;
cin>>n;
cout<<n<<endl;
for(int j=1; j<=n; j++)
{
for(int i=1; i<=j; i++)
cout<<i;
cout<<endl;
}
system("pause");
return 0;
}
include <iostream>
using namespace std;
int main()
{
int n;
cin >> n;
for(int i=1;i<=n;i++)
{
for (int j=1;j<=i;j++)
cout<<j;
cout<<endl;
}
system("pause");
return 0;
}
張貼留言