2062021-02-07 17:06:02kovacs.peter.18fZenehallgatáscpp11Wrong answer 0/50115ms33064 KiB
#include <iostream>
#include <vector>
#include <queue>
#include <set>

using namespace std;

int main() {
	cin.sync_with_stdio(false);
	cin.tie(nullptr);

	int N, K;
	cin >> N >> K;
	vector<int> songS(N);
	int full_length = 0;
	for (auto& e : songS) {
		cin >> e;
		full_length += e;
	}
	queue<int> timeS;
	set<int> countedS;
	for (int i = 0; i < K; i++) {
		int k;
		cin >> k;
		timeS.push(k);
		countedS.insert(k);
	}

}
SubtaskSumTestVerdictTimeMemory
base0/50
1Accepted0/02ms1912 KiB
2Accepted0/074ms14244 KiB
3Wrong answer0/22ms3540 KiB
4Wrong answer0/22ms3560 KiB
5Wrong answer0/22ms3576 KiB
6Wrong answer0/31ms3588 KiB
7Wrong answer0/31ms3604 KiB
8Wrong answer0/32ms3620 KiB
9Wrong answer0/275ms15832 KiB
10Wrong answer0/275ms17284 KiB
11Wrong answer0/278ms18712 KiB
12Wrong answer0/276ms20144 KiB
13Wrong answer0/2115ms21504 KiB
14Wrong answer0/272ms22768 KiB
15Wrong answer0/270ms24104 KiB
16Wrong answer0/272ms25444 KiB
17Wrong answer0/283ms26768 KiB
18Wrong answer0/279ms27952 KiB
19Wrong answer0/278ms29336 KiB
20Wrong answer0/276ms29696 KiB
21Wrong answer0/283ms29548 KiB
22Wrong answer0/379ms30728 KiB
23Wrong answer0/368ms31904 KiB
24Wrong answer0/382ms33064 KiB