Skip to content

Commit

Permalink
[goormlevel] Title: 정사각형의 개수, Time: 0.08 ms, Memory: 10.02 MB, Diffic…
Browse files Browse the repository at this point in the history
…ulty: 1 -BaekjoonHub
  • Loading branch information
boyamie committed Jul 2, 2024
1 parent 3663310 commit 681a638
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
12 changes: 12 additions & 0 deletions goormlevel/49086/1. 정사각형의 개수/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# 정사각형의 개수 - 49086/1

[문제 링크](https://level.goorm.io/exam/49086/%EC%A0%95%EC%82%AC%EA%B0%81%ED%98%95%EC%9D%98-%EA%B0%9C%EC%88%98/quiz/1)

### 성능 요약

메모리: 10.02 MB, 시간: 0.08 ms

### 제출 일자

2024년 07월 02일 10:41:37

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# -*- coding: utf-8 -*-
# UTF-8 encoding when using korean
import sys
input = sys.stdin.readline
n = int(input())
sum = 0
for i in range(1,n+1):
sum += i**2
print(sum)

0 comments on commit 681a638

Please sign in to comment.