283. 내적

김해준's avatar
Jan 16, 2026
283. 내적

사용언어 : Java

문제
notion image
풀이
class Solution { public int solution(int[] a, int[] b) { long temp = 0; for(int i = 0 ; i < a.length; i++) { temp += a[i] * b[i]; } int answer = (int)temp; return answer; } }
notion image
Share article