# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
974573 |
2024-05-03T13:18:31 Z |
vjudge1 |
Ljeto (COCI21_ljeto) |
C++17 |
|
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;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
344 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
348 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
344 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |