Submission #776109

# Submission time Handle Problem Language Result Execution time Memory
776109 2023-07-07T10:25:12 Z vjudge1 Awesome Arrowland Adventure (eJOI19_adventure) C++17
0 / 100
1 ms 212 KB
#include<bits/stdc++.h>
using namespace std;
#define lalala ios_base::sync_with_stdio(false);cin.tie(NULL);
#define endl "\n"
#define ll long long
#define pb push_back

int main(){
	int n,m;
	cin>>m>>n;
	ll int bir[n],iki[n];
	ll int cev=0;
	for(int i=0;i<n;i++){
		cin>>bir[i];
	}

	for(int i=0;i<n;i++){
		cin>>iki[i];
	}
	for(int i=0;i<n;i++){
		cev+=min(bir[i],iki[i]);
	}
	cout<<cev<<endl;


}
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -