답안 #974573

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
974573 2024-05-03T13:18:31 Z vjudge1 Ljeto (COCI21_ljeto) C++17
0 / 50
0 ms 348 KB
using namespace std;
#include <bits/stdc++.h>

int main(){
    int N;
    cin>>N;
    int A[N+1],B[N+1];
    for(int i=1;i<=N;i++){
        cin>>A[i];
    }
    for(int i=1;i<=N;i++){
        cin>>B[i];
    }
    int length=0;
    for(int i=1;i<=N;i++){
        for(int j=1;j<=N;j++){
            int C=A[i]+B[j];
            string S=to_string(C);
            length+=S.length();
        }
    }
    cout<<length<<endl;
}
# 결과 실행 시간 메모리 Grader output
1 Incorrect 0 ms 344 KB Output isn't correct
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 0 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 0 ms 344 KB Output isn't correct
2 Halted 0 ms 0 KB -