• Skip to primary navigation
  • Skip to content
  • Skip to footer
행복한 개발일지 행복한 개발일지
  • Categories
    obo

    obo

    잘못된 부분은 피드백 부탁드립니다

    • Korea
    • GitHub
    • Email

    [알고리즘] 내적

    less than 1 minute read

    코드

    using System;
    
    public 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;
        }
    }
    

    Categories: C#, 알고리즘

    Updated: October 12, 2021

    Share on

    Twitter Facebook LinkedIn
    Previous Next

    You may also enjoy

    [알고리즘] 스도쿠

    2 minute read

    [알고리즘] 다각형의 면적

    1 minute read

    [알고리즘] 지름길

    1 minute read

    [알고리즘] 퍼즐

    1 minute read

    • Follow:
    • Feed
    © 2022 obo. Powered by Jekyll & Minimal Mistakes.