#include <bits/stdc++.h>
#include "aplusb.h"
#include <vector>
using namespace std;
vector<int> smallest_sums(int N, vector<int>A, vector<int>B){
long long minna = 1e18,minnb = 1e18;
for(int i = 0; i < (int)A.size(); i++) minna = min(minna,(long long)A[i]);
for(int i = 0; i < (int)B.size(); i++) minnb = min(minnb,(long long)B[i]);
vector<int> ans;
ans.push_back(minna * minnb);
return ans;
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
344 KB |
Output is correct |
2 |
Incorrect |
0 ms |
344 KB |
1st lines differ - on the 1st token, expected: '465', found: '39536' |
3 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
344 KB |
Output is correct |
2 |
Incorrect |
0 ms |
344 KB |
1st lines differ - on the 1st token, expected: '465', found: '39536' |
3 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
344 KB |
Output is correct |
2 |
Incorrect |
0 ms |
344 KB |
1st lines differ - on the 1st token, expected: '465', found: '39536' |
3 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
1 ms |
344 KB |
Output is correct |
2 |
Incorrect |
0 ms |
344 KB |
1st lines differ - on the 1st token, expected: '465', found: '39536' |
3 |
Halted |
0 ms |
0 KB |
- |