We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 989d420 commit 8326564Copy full SHA for 8326564
2 files changed
프로그래머스/1/12928. 약수의 합/README.md
@@ -4,7 +4,7 @@
4
5
### 성능 요약
6
7
-메모리: 10.3 MB, 시간: 0.34 ms
+메모리: 73.7 MB, 시간: 0.05 ms
8
9
### 구분
10
@@ -16,7 +16,7 @@
16
17
### 제출 일자
18
19
-2024년 06월 19일 21:34:15
+2026년 06월 21일 13:57:35
20
21
### 문제 설명
22
프로그래머스/1/12928. 약수의 합/약수의 합.java
@@ -0,0 +1,12 @@
1
+class Solution {
2
+ public int solution(int n) {
3
+ int ans = 0;
+
+ for (int i = 1; i <= n; i++) {
+ if (n % i == 0) {
+ ans += i;
+ }
+ return ans;
11
12
+}
0 commit comments