[구현/수학] 백준 13073 Sums - 파이썬(Python)


[구현/수학] 백준 13073 Sums - 파이썬(Python)

[ Contents ] 1. 문제 (링크 참조) 13073번: Sums For each test case, print three space separated integers S1, S2, S3 in one line where S1 : the sum of first N positive integer, S2 : the sum of first N positive odd integer, S3 : the sum of first N positive even integer. www.acmicpc.net 2. 문제 풀이 S1 : 처음 N개의 양의 정수의 합 S2 : 처음 N개의 양의 홀수 정수의 합 S3 : 처음 N개의 양의 짝수의 합 위 3가지의 합을 구하는 문제입니다. 3. 코드 t = int(input()) fo..


원문링크 : [구현/수학] 백준 13073 Sums - 파이썬(Python)