Submission #400882

#TimeUsernameProblemLanguageResultExecution timeMemory
400882DivannyJelly Flavours (IOI20_jelly)C++14
Compilation error
0 ms0 KiB
#include jelly.h
#include <bits/stdc++.h>

using namespace std;

int find_maximum_unique(int x, int y, vector<int> a, vector<int> b) 
{
	int n = a.size();
	sort(a.begin(), a.end());
	int i = 0, cont = 0;
	while (x - a[i] >= 0 && i < n)
	{
		if (x - a[i] >= 0)
		{
			cont++;
			x -= a[i];
		}
		i++;
	}
	return cont;
}

Compilation message (stderr)

jelly.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
    1 | #include jelly.h
      |          ^~~~~