Submission #959363

# Submission time Handle Problem Language Result Execution time Memory
959363 2024-04-08T06:00:35 Z ALTAKEXE Fancy Fence (CEOI20_fancyfence) C++17
0 / 100
1 ms 516 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*4<<endl;
	return 0;
}
# Verdict Execution time Memory Grader output
1 Correct 0 ms 348 KB Output is correct
2 Incorrect 1 ms 516 KB Output isn't correct
3 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 344 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 1 ms 344 KB Output is correct
2 Incorrect 1 ms 344 KB Output isn't correct
3 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 344 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 1 ms 348 KB Output is correct
2 Incorrect 1 ms 348 KB Output isn't correct
3 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 0 ms 348 KB Output is correct
2 Incorrect 1 ms 456 KB Output isn't correct
3 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 0 ms 348 KB Output is correct
2 Incorrect 1 ms 516 KB Output isn't correct
3 Halted 0 ms 0 KB -