U E D R , A S I H C RSS

Code Race/2015.5.15/Pi Cha Il Ban

Difference between r1.6 and the current

@@ -1,13 +1,112 @@
Describe CodeRace/2015.5.15/PiChaIlBan here

= 1 =
== 1 ==
= Problem 1 =
{{{
#include<stdio.h>
 
#include <stdio.h> 
 
 
 
int root(int i)
{
if ( i ==0)
{
return 0;
}
else
{
return i+root(i-1);
}
}
 
int main()
{
int sum =0;
int n;
int i1 = 0;
int n1 = 0;
int sum1 = 0;
 
int i = 0;
 
printf("hello world \n\n");
 
printf("===========+%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@**+==+*##*+==*%@@@@@@@@@@@@@@@@@*+..=+#%%#*+=.:+#@@\n");
printf("=+*%%%%#*=+*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#+=*@@@@@@*+=*@@@@@@@@@@@@@@@@+.:+%@@@@@@@@@#+.=*@\n");
printf("##@@@@@#+=*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#+=*@@@@@@%+=+@@@@@@@@@@@@@@%+.=#@@@@@@@@@@@@@+.=*\n");
printf("@@@@@@%+=+@@@@@@@%#*++**%@@@@###@@@@#*+++#@@@@@@@@@@@@@@@@@#+=*@@@@@#*++++%@@@@@@@@@@@@+:=*@@@@@@@@@@@@@@#=:+\n");
printf("@@@@@@+=+#@@@@*+:.::==::.:+*++==*#+==++++==+%@@@@@@@@@@@@@@#+=*==+==+.:++:.+%@@@@@@@@@@+.=#@@@@@@@@@@@@@@#=:+\n");
printf("@@@@@*==*@@@+:.=*#@@@@@@#+:.+*+=+==*%@@@@%+=+#@@@@@@@@@@@@@#+=*%**#*=:*@@*:=*@@@@@@@@@@+:=#@*****#*******+:=*\n");
printf("@@@@#+=+@@%=.=*@@@@@@@@@@@#+.=+==+#@@@@@@#+=+=====+*#@@@@@@#+=*@@@@@@@@@@*::%@@@@@@%@%++=.++====:::========+@\n");
printf("@@@@+=+#@@+.=#@@@@@@@@@@@@@#=:+=+%@@@@@*+::==++*+++=..=*@@@#+=*@@@@@@@@@@*:=##++=======+*=.=*@@@@@@@@@@@@%++*\n");
printf("@@@*==*@@#=:+@@@@@@@@@@@@@@@+:+=*@@@@#=.=*%@@@@@@@@@%*=.=*@#+=*@@@@@@@@@@*:=*==+#@@%#+=+#@*=.:+*%@@@@%#+=..+*\n");
printf("@@#+=+@@@#::*@@@@@@@@@@@@@@%+:+=*@@@*::+@@@@@@@@@@@@@@@*::*#+=*@@@@@@%%%@*:=*=+%@@@@@%+=*@@@#+=:.......:=*%@@\n");
printf("@%+=+%@@@%=.+#+=:===========.:+=*@@#=:+@@@@@@@@@@@@@@@@@*::++=*@@@*=:....=.=++=++***+==+%@@@@@@@%####%@@@@@@@\n");
printf("@*=+*@@@@@#=.+****************+=*@@*:=#@@@@@@@@@@@@@@@@@#=.++=*@@+.=*%@@*+.=#@#+==+++*%@@@@@@@@@@@@@@@@@@@@@@\n");
printf("#+=*%%%%%@*+=.:+#@@@@@@@@@@*=:+=*@@*::#@@@@@@@@@@@@@@@@@#=:++=*@%=.+%@@@@+:=#@*+=====++*#@@@@@@@@@@@@@@@@@@@@\n");
printf("+===========+*+:.:=++**++=..=*+=++*%=.+%@@@@@@@@@@@@@@@%+.=++==+##=.:=+=:..:*==++**#**+==+*%@@@@@@@@@@@@@@@@@\n");
printf("@%%%%%%%%@@@@@@@%*+=====+*#@@@*+++%@#=.=#@@@@@@@@@@@@@*=.=*@####@@@%*+++*#*==+%@@@@@@@@@#+=+*@@@@@@@@@@@@@@@@\n");
printf("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%+:.=+#@@@@@@@#*=.:+%@@@@@@@@@@@@@@@+=+*@@@@@@@@@@@@@*=+*@@@@@@@@@@@@@@@\n");
printf("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#+:..::==:..:=*@@@@@@@@@@@@@@@@@#+=+@@@@@@@@@@@@@@%+=+%@@@@@@@@@@@@@@\n");
printf("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@##****#%@@@@@@@@@@@@@@@@@@@@#+=*@@@@@@@@@@@@@@%+=+%@@@@@@@@@@@@@@\n");
printf("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+=+#@@@@@@@@@@@@@*=+*@@@@@@@@@@@@@@@\n");
printf("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%+=+*@@@@@@@@@@%*==*@@@@@@@@@@@@@@@@\n");
printf("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*+==+*#%%%#*+==+#@@@@@@@@@@@@@@@@@\n");
printf("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#*+======++*%@@@@@@@@@@@@@@@@@@@\n");
printf("Team Name : PiChaIIBan\n");
printf("강사 : 남효민 새싹 : 최현준 문규환\n\n");
 
for(i=1;i <= 40;i++)
{
printf("#");
}
 
sum = root(100);
printf("1~100의 합 = %d\n\n", sum);
scanf("%d",&n);
sum = root ( n ) ;
 
 
printf("1 ~ n 까지의 합 = %d", sum);
 
 
return 0;
}
 
 
}}}
 
 
= Problem 2 =
 
{{{
#include <stdio.h>
#include "gugu.h"

int main ()
{
int i = 0;
 
RRR();
GG();
 
return 0;
}
 
}}}
 
==gugu.h==
 
{{{
#include<stdio.h>
#include<stdlib.h>
#include <time.h>
 
void RRR ()
{
int i = 0;

printf("===========+%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@**+==+*##*+==*%@@@@@@@@@@@@@@@@@*+..=+#%%#*+=.:+#@@\n");
printf("=+*%%%%#*=+*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#+=*@@@@@@*+=*@@@@@@@@@@@@@@@@+.:+%@@@@@@@@@#+.=*@\n");
@@ -38,6 +137,47 @@
{
printf("#");
}
return 0;
}
void GGG( int M)
{
int i = 0;
int N1 = 0;
for ( i=1;i<=M;i++)
{
srand(time(NULL));
N1 = rand()%10;
 
printf("random = %d\n",N1);
for(i = 1; i <= 9; i++)
{
printf("%d * %d = %d \n", i, N1, i * N1);
}
 
printf("\n");
}
}
void GG()
{
int i = 0;
int N = 0;
int M = 0;
scanf ("%d",&N);
 
for(i = 1; i <= 9; i++)
{
printf("%d * %d = %d \n", i, N, i * N);
}
printf("M");
scanf_s("%d",&M);
 
for ( i = 0 ; i < M; i++)
GGG(M);
}
 
 
 
 
}}}


Describe CodeRace/2015.5.15/PiChaIlBan here

Problem 1



#include <stdio.h>



int root(int i)
{
	if ( i ==0)
	{
		return 0;
	}
	else 
	{
		return i+root(i-1);
	}
}

int main()
{
	int sum =0;
	int n;
	int i1 = 0;
	int n1 = 0;
	int sum1 = 0;

		int i = 0;

	printf("hello world \n\n");

	
	printf("===========+%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@**+==+*##*+==*%@@@@@@@@@@@@@@@@@*+..=+#%%#*+=.:+#@@\n");
	printf("=+*%%%%#*=+*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#+=*@@@@@@*+=*@@@@@@@@@@@@@@@@+.:+%@@@@@@@@@#+.=*@\n");
	printf("##@@@@@#+=*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#+=*@@@@@@%+=+@@@@@@@@@@@@@@%+.=#@@@@@@@@@@@@@+.=*\n");
	printf("@@@@@@%+=+@@@@@@@%#*++**%@@@@###@@@@#*+++#@@@@@@@@@@@@@@@@@#+=*@@@@@#*++++%@@@@@@@@@@@@+:=*@@@@@@@@@@@@@@#=:+\n");
	printf("@@@@@@+=+#@@@@*+:.::==::.:+*++==*#+==++++==+%@@@@@@@@@@@@@@#+=*==+==+.:++:.+%@@@@@@@@@@+.=#@@@@@@@@@@@@@@#=:+\n");
	printf("@@@@@*==*@@@+:.=*#@@@@@@#+:.+*+=+==*%@@@@%+=+#@@@@@@@@@@@@@#+=*%**#*=:*@@*:=*@@@@@@@@@@+:=#@*****#*******+:=*\n");
	printf("@@@@#+=+@@%=.=*@@@@@@@@@@@#+.=+==+#@@@@@@#+=+=====+*#@@@@@@#+=*@@@@@@@@@@*::%@@@@@@%@%++=.++====:::========+@\n");
	printf("@@@@+=+#@@+.=#@@@@@@@@@@@@@#=:+=+%@@@@@*+::==++*+++=..=*@@@#+=*@@@@@@@@@@*:=##++=======+*=.=*@@@@@@@@@@@@%++*\n");
	printf("@@@*==*@@#=:+@@@@@@@@@@@@@@@+:+=*@@@@#=.=*%@@@@@@@@@%*=.=*@#+=*@@@@@@@@@@*:=*==+#@@%#+=+#@*=.:+*%@@@@%#+=..+*\n");
	printf("@@#+=+@@@#::*@@@@@@@@@@@@@@%+:+=*@@@*::+@@@@@@@@@@@@@@@*::*#+=*@@@@@@%%%@*:=*=+%@@@@@%+=*@@@#+=:.......:=*%@@\n");
	printf("@%+=+%@@@%=.+#+=:===========.:+=*@@#=:+@@@@@@@@@@@@@@@@@*::++=*@@@*=:....=.=++=++***+==+%@@@@@@@%####%@@@@@@@\n");
	printf("@*=+*@@@@@#=.+****************+=*@@*:=#@@@@@@@@@@@@@@@@@#=.++=*@@+.=*%@@*+.=#@#+==+++*%@@@@@@@@@@@@@@@@@@@@@@\n");
	printf("#+=*%%%%%@*+=.:+#@@@@@@@@@@*=:+=*@@*::#@@@@@@@@@@@@@@@@@#=:++=*@%=.+%@@@@+:=#@*+=====++*#@@@@@@@@@@@@@@@@@@@@\n");
	printf("+===========+*+:.:=++**++=..=*+=++*%=.+%@@@@@@@@@@@@@@@%+.=++==+##=.:=+=:..:*==++**#**+==+*%@@@@@@@@@@@@@@@@@\n");
	printf("@%%%%%%%%@@@@@@@%*+=====+*#@@@*+++%@#=.=#@@@@@@@@@@@@@*=.=*@####@@@%*+++*#*==+%@@@@@@@@@#+=+*@@@@@@@@@@@@@@@@\n");
	printf("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%+:.=+#@@@@@@@#*=.:+%@@@@@@@@@@@@@@@+=+*@@@@@@@@@@@@@*=+*@@@@@@@@@@@@@@@\n");
	printf("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#+:..::==:..:=*@@@@@@@@@@@@@@@@@#+=+@@@@@@@@@@@@@@%+=+%@@@@@@@@@@@@@@\n");
	printf("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@##****#%@@@@@@@@@@@@@@@@@@@@#+=*@@@@@@@@@@@@@@%+=+%@@@@@@@@@@@@@@\n");
	printf("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+=+#@@@@@@@@@@@@@*=+*@@@@@@@@@@@@@@@\n");
	printf("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%+=+*@@@@@@@@@@%*==*@@@@@@@@@@@@@@@@\n");
	printf("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*+==+*#%%%#*+==+#@@@@@@@@@@@@@@@@@\n");
	printf("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#*+======++*%@@@@@@@@@@@@@@@@@@@\n");
	printf("Team Name : PiChaIIBan\n");
	printf("강사 : 남효민 새싹 : 최현준 문규환\n\n");

	for(i=1;i <= 40;i++)
	{
		printf("#");
	}

	sum = root(100);
	printf("1~100의 합 = %d\n\n", sum);
	scanf("%d",&n);
	sum = root ( n ) ;


	printf("1 ~ n 까지의 합 = %d", sum);


	return 0;
}




Problem 2


 
#include <stdio.h>
#include "gugu.h"

int main ()
{

	RRR();
	
	GG();

	return 0;
}


==gugu.h==

#include<stdio.h>
#include<stdlib.h>
#include <time.h>

void RRR ()
{
		int i = 0;
	
	printf("===========+%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@**+==+*##*+==*%@@@@@@@@@@@@@@@@@*+..=+#%%#*+=.:+#@@\n");
	printf("=+*%%%%#*=+*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#+=*@@@@@@*+=*@@@@@@@@@@@@@@@@+.:+%@@@@@@@@@#+.=*@\n");
	printf("##@@@@@#+=*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#+=*@@@@@@%+=+@@@@@@@@@@@@@@%+.=#@@@@@@@@@@@@@+.=*\n");
	printf("@@@@@@%+=+@@@@@@@%#*++**%@@@@###@@@@#*+++#@@@@@@@@@@@@@@@@@#+=*@@@@@#*++++%@@@@@@@@@@@@+:=*@@@@@@@@@@@@@@#=:+\n");
	printf("@@@@@@+=+#@@@@*+:.::==::.:+*++==*#+==++++==+%@@@@@@@@@@@@@@#+=*==+==+.:++:.+%@@@@@@@@@@+.=#@@@@@@@@@@@@@@#=:+\n");
	printf("@@@@@*==*@@@+:.=*#@@@@@@#+:.+*+=+==*%@@@@%+=+#@@@@@@@@@@@@@#+=*%**#*=:*@@*:=*@@@@@@@@@@+:=#@*****#*******+:=*\n");
	printf("@@@@#+=+@@%=.=*@@@@@@@@@@@#+.=+==+#@@@@@@#+=+=====+*#@@@@@@#+=*@@@@@@@@@@*::%@@@@@@%@%++=.++====:::========+@\n");
	printf("@@@@+=+#@@+.=#@@@@@@@@@@@@@#=:+=+%@@@@@*+::==++*+++=..=*@@@#+=*@@@@@@@@@@*:=##++=======+*=.=*@@@@@@@@@@@@%++*\n");
	printf("@@@*==*@@#=:+@@@@@@@@@@@@@@@+:+=*@@@@#=.=*%@@@@@@@@@%*=.=*@#+=*@@@@@@@@@@*:=*==+#@@%#+=+#@*=.:+*%@@@@%#+=..+*\n");
	printf("@@#+=+@@@#::*@@@@@@@@@@@@@@%+:+=*@@@*::+@@@@@@@@@@@@@@@*::*#+=*@@@@@@%%%@*:=*=+%@@@@@%+=*@@@#+=:.......:=*%@@\n");
	printf("@%+=+%@@@%=.+#+=:===========.:+=*@@#=:+@@@@@@@@@@@@@@@@@*::++=*@@@*=:....=.=++=++***+==+%@@@@@@@%####%@@@@@@@\n");
	printf("@*=+*@@@@@#=.+****************+=*@@*:=#@@@@@@@@@@@@@@@@@#=.++=*@@+.=*%@@*+.=#@#+==+++*%@@@@@@@@@@@@@@@@@@@@@@\n");
	printf("#+=*%%%%%@*+=.:+#@@@@@@@@@@*=:+=*@@*::#@@@@@@@@@@@@@@@@@#=:++=*@%=.+%@@@@+:=#@*+=====++*#@@@@@@@@@@@@@@@@@@@@\n");
	printf("+===========+*+:.:=++**++=..=*+=++*%=.+%@@@@@@@@@@@@@@@%+.=++==+##=.:=+=:..:*==++**#**+==+*%@@@@@@@@@@@@@@@@@\n");
	printf("@%%%%%%%%@@@@@@@%*+=====+*#@@@*+++%@#=.=#@@@@@@@@@@@@@*=.=*@####@@@%*+++*#*==+%@@@@@@@@@#+=+*@@@@@@@@@@@@@@@@\n");
	printf("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%+:.=+#@@@@@@@#*=.:+%@@@@@@@@@@@@@@@+=+*@@@@@@@@@@@@@*=+*@@@@@@@@@@@@@@@\n");
	printf("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#+:..::==:..:=*@@@@@@@@@@@@@@@@@#+=+@@@@@@@@@@@@@@%+=+%@@@@@@@@@@@@@@\n");
	printf("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@##****#%@@@@@@@@@@@@@@@@@@@@#+=*@@@@@@@@@@@@@@%+=+%@@@@@@@@@@@@@@\n");
	printf("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+=+#@@@@@@@@@@@@@*=+*@@@@@@@@@@@@@@@\n");
	printf("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%+=+*@@@@@@@@@@%*==*@@@@@@@@@@@@@@@@\n");
	printf("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*+==+*#%%%#*+==+#@@@@@@@@@@@@@@@@@\n");
	printf("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#*+======++*%@@@@@@@@@@@@@@@@@@@\n");
	printf("Team Name : PiChaIIBan\n");
	printf("강사 : 남효민 새싹 : 최현준 문규환\n");

	for(i=1;i <= 40;i++)
	{
		printf("#");
	}
	
}
void GGG( int M)
{
	int i = 0; 
	int N1 = 0;
	for ( i=1;i<=M;i++)
	{
		srand(time(NULL));
		N1 = rand()%10;

		printf("random = %d\n",N1);
		
	for(i = 1; i <= 9; i++)
	{
		printf("%d * %d = %d \n", i, N1, i * N1);
	}

		printf("\n");
	}
}
void GG()
{
	int i = 0;
	int N = 0;
	int M = 0;
	scanf ("%d",&N);

	for(i = 1; i <= 9; i++)
	{
		printf("%d * %d = %d \n", i, N, i * N);
	}
	printf("M");
	scanf_s("%d",&M);

	for ( i = 0 ; i < M; i++)
		GGG(M);
}





Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:22:55
Processing time 0.0273 sec