답안 #938562

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
938562 2024-03-05T10:16:01 Z Lilypad Feast (NOI19_feast) C++14
4 / 100
103 ms 5596 KB
#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define pii pair<ll,ll>
#define pb push_back
#define fi first
#define se second

const ll N = 3e5+3;

ll n,k,sum,a[N];

int main() {
	cin >> n >> k;
	for(int i=1; i<=n; i++) {
		cin >> a[i];
		sum += a[i];
	}
	cout << sum << endl;
}
# 결과 실행 시간 메모리 Grader output
1 Correct 85 ms 2652 KB Output is correct
2 Correct 103 ms 5456 KB Output is correct
3 Correct 95 ms 5576 KB Output is correct
4 Correct 82 ms 5456 KB Output is correct
5 Correct 84 ms 5596 KB Output is correct
6 Correct 81 ms 5456 KB Output is correct
7 Correct 90 ms 5324 KB Output is correct
8 Correct 99 ms 5588 KB Output is correct
9 Correct 93 ms 5336 KB Output is correct
10 Correct 96 ms 5324 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 46 ms 2652 KB Output is correct
2 Correct 46 ms 2656 KB Output is correct
3 Incorrect 59 ms 2652 KB Output isn't correct
4 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 89 ms 2660 KB Output isn't correct
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 1 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 1 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 1 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 85 ms 2652 KB Output is correct
2 Correct 103 ms 5456 KB Output is correct
3 Correct 95 ms 5576 KB Output is correct
4 Correct 82 ms 5456 KB Output is correct
5 Correct 84 ms 5596 KB Output is correct
6 Correct 81 ms 5456 KB Output is correct
7 Correct 90 ms 5324 KB Output is correct
8 Correct 99 ms 5588 KB Output is correct
9 Correct 93 ms 5336 KB Output is correct
10 Correct 96 ms 5324 KB Output is correct
11 Correct 46 ms 2652 KB Output is correct
12 Correct 46 ms 2656 KB Output is correct
13 Incorrect 59 ms 2652 KB Output isn't correct
14 Halted 0 ms 0 KB -