Submission #988796

# Submission time Handle Problem Language Result Execution time Memory
988796 2024-05-26T07:54:40 Z vjudge1 A Plus B (IOI23_aplusb) C++17
10 / 100
0 ms 348 KB
#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;
}
# Verdict Execution time Memory Grader output
1 Correct 0 ms 344 KB Output is correct
2 Correct 0 ms 344 KB Output is correct
3 Correct 0 ms 348 KB Output is correct
4 Correct 0 ms 344 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 0 ms 344 KB Output is correct
2 Correct 0 ms 344 KB Output is correct
3 Correct 0 ms 348 KB Output is correct
4 Correct 0 ms 344 KB Output is correct
5 Incorrect 0 ms 348 KB 1st lines differ - expected: 2 tokens, found 1 tokens
6 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 0 ms 344 KB Output is correct
2 Correct 0 ms 344 KB Output is correct
3 Correct 0 ms 348 KB Output is correct
4 Correct 0 ms 344 KB Output is correct
5 Incorrect 0 ms 348 KB 1st lines differ - expected: 2 tokens, found 1 tokens
6 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 0 ms 344 KB Output is correct
2 Correct 0 ms 344 KB Output is correct
3 Correct 0 ms 348 KB Output is correct
4 Correct 0 ms 344 KB Output is correct
5 Incorrect 0 ms 348 KB 1st lines differ - expected: 2 tokens, found 1 tokens
6 Halted 0 ms 0 KB -