Submission #776103

# Submission time Handle Problem Language Result Execution time Memory
776103 2023-07-07T10:15:03 Z vjudge1 Colouring a rectangle (eJOI19_colouring) C++17
0 / 100
236 ms 6532 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>>n>>m;
	ll int bir[n+m-1],iki[n+m-1];
	ll int cev=0;
	for(int i=0;i<n+m-1;i++){
		cin>>bir[i];
	}

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


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