Baekjoon 백준 8393번 합
합 성공 시간 제한 메모리 제한 제출 정답 맞은 사람 정답 비율 1 초 128 MB 4459 3236 2882 74.741% 문제 n이 주어졌을 때, 1부터 n까지 합을 구하는 프로그램을 작성하시오. 입력 첫째 줄에 n (1 ≤ n ≤ 10,000)이 주어진다. 출력 1부터 n까지 합을 출력한다. 예제 입력 3 예제 출력 6 힌트 출처 Contest > Algorithmic Engagements > PA 2006 1번 문제를 번역한 사람: baekjoonusing System; public class main { public static void Main() { int i, sum = 0; string input = Console.ReadLine(); int N = int.Parse(input); for..
C, C++/Baekjoon Online Judge
2016. 6. 6. 20:28
Blog is powered by
Tistory / Designed by
Tistory
Contact: j0n9m1n1@gmail.com
Contact: j0n9m1n1@gmail.com