U E D R , A S I H C RSS

Code Race/2015.5.15/우리반

ㅇㅇ

1번
/*
#include <stdio.h>

void finish(){
	
	int i;
	
	
	printf("==::::::...:=+=::..:.::::=:+#:::::::\n::::::::@@@# = ::: = +# = +: : . : = #..@.::::\n::::::: == ..::... %@@% ..  %@@.::::\n.... . + .:.         %@ = @%@ = ...."
		"\n:..... : +. : ..* = . = @@@% ..:%%%% ..."
		"\n:: : ...@ + .:: . + %#%@:%%@%% %= .:%@@...:"
	"\n..:: @#:::. + @@%+*+@@@@@@@@@ = @@@% .."
		"\n= .. += :@@ + %@@@@@%#@@@@@@@@"
		"\n+ +: += = . : .%@@@@@ + . = *@@@@@%"
		"\n= . = ++*: = @@@@@%    *+@@#@@"
		"\n:..:::: + **# = ....*@@@@@ = .... + *%%#@ +"
		"\n++++ = += #%* *= == == %*@@@ %= == = ++ = :*#@@@ +"
		"\n++++++%@ + %: == == : **@#@*: += = ++++ = @%#%+"
		"\n++++++#*#@#**+# + %@++@%#***#####%@##%\n");


		printf("우리반 \n 홍성현 이한용 유동제\n");

	for (i = 0; i < 40; i++)
		printf("#");
	printf("\n");
}

int sum(){
	int s = 0;
	int i;
	for (i = 1; i < 101; i++){

		s += i;
	}
		return s;
	}

int sum2(){

	static int sum;
	static int i;

	i++;
	if (i == 101) return printf("%d\n", sum);;
	sum += i;
	sum2();
}

int sum3(int n){

	static int sum;
	static int i;
	
	if (i == 0){
		scanf_s("%d", &n);
	}

	i++;
	if (i == n+1) return sum;
	sum += i;
	
	sum3(n);
}




int main() {
	int n;
	
	printf("%d\n", sum());


	

	sum2();

	


	printf("%d\n", sum3(1));







	finish();
	getchar();
	return 0;
}



*/

2번


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

void gugu(){
	int i;
	int n;
	scanf_s("%d", &n);
	for (i = 1; i < 10; i++){
		printf("%d X %d = %d \n", n, i, n*i);

	}

	gugu2();
}

void gugu2(){
	int i;
	int m;
	srand((int)time(NULL));
	m = rand() % 9 + 1;
	
	for (i = 1; i <= m; i++){
		printf("%d X %d = %d \n", m, i, m*i);

	}


}

#include "gugu.h"
void finish(){

	int i;


	printf("==::::::...:=+=::..:.::::=:+#:::::::\n::::::::@@@# = ::: = +# = +: : . : = #..@.::::\n::::::: == ..::... %@@% ..  %@@.::::\n.... . + .:.         %@ = @%@ = ...."
		"\n:..... : +. : ..* = . = @@@% ..:%%%% ..."
		"\n:: : ...@ + .:: . + %#%@:%%@%% %= .:%@@...:"
		"\n..:: @#:::. + @@%+*+@@@@@@@@@ = @@@% .."
		"\n= .. += :@@ + %@@@@@%#@@@@@@@@"
		"\n+ +: += = . : .%@@@@@ + . = *@@@@@%"
		"\n= . = ++*: = @@@@@%    *+@@#@@"
		"\n:..:::: + **# = ....*@@@@@ = .... + *%%#@ +"
		"\n++++ = += #%* *= == == %*@@@ %= == = ++ = :*#@@@ +"
		"\n++++++%@ + %: == == : **@#@*: += = ++++ = @%#%+"
		"\n++++++#*#@#**+# + %@++@%#***#####%@##%\n");


	printf("우리반 \n 홍성현 이한용 유동제\n");

	for (i = 0; i < 40; i++)
		printf("#");
	printf("\n");
}





int main() {
	
	
	
	gugu();


	finish();
	return 0;
}



*/
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:22:57
Processing time 0.0104 sec