Skip to content

Commit a5ca0b4

Browse files
authored
Update 12.cpp
1 parent 5060f38 commit a5ca0b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

6/12.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ int main(void) {
3838
}
3939

4040
// 배열 A의 모든 원소의 합을 출력
41-
int result = 0;
41+
long long result = 0;
4242
for (int i = 0; i < n; i++) {
4343
result += a[i];
4444
}

0 commit comments

Comments
 (0)