Skip to content

Commit

Permalink
내적 - level1
Browse files Browse the repository at this point in the history
  • Loading branch information
sey2 authored Aug 15, 2022
1 parent 98482c2 commit 6fea789
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions programmers/Inner.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
class Solution {
public int solution(int[] a, int[] b) {
int answer = 0;

for(int i=0; i<a.length; i++)
answer += a[i] * b[i];

return answer;
}
}

0 comments on commit 6fea789

Please sign in to comment.