Submission #959362

# Submission time Handle Problem Language Result Execution time Memory
959362 2024-04-08T06:00:15 Z ALTAKEXE Fancy Fence (CEOI20_fancyfence) C++17
0 / 100
1 ms 600 KB
#include<bits/stdc++.h>
#define ll long long
#define f first
#define s second
const int mod = 1e9 + 7;
using namespace std;
int main(){
	int n,ans=0;
	cin>>n;
	int h[n],w[n];
	for(int i=0;i<n;i++) cin>>h[i];
	for(int i=0;i<n;i++) cin>>w[i];
	for(int i=1;i<=n;i++) ans+=i;
	cout<<ans*2<<endl;
	return 0;
}
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 600 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 348 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 348 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -