Submission #1170544

#TimeUsernameProblemLanguageResultExecution timeMemory
1170544raymedBouquet (EGOI24_bouquet)C++20
Compilation error
0 ms0 KiB
#include <bits.stdc++> using namespace std; int main() { int N; cin >> N; vector<pair<int,int>> I(N); for (int i = 0; i < n; ++i) cin >> I.first >> I.second; for (int i = 0; i < N; ++i) { for (int j = N-1; j >= i-5; --j) { if (j - max(flowers[j].first, flowers[i].second) > i) { dp[i]= max(1, max(dp[i], dp[j] + 1)); } } } }

Compilation message (stderr)

Main.cpp:1:10: fatal error: bits.stdc++: No such file or directory
    1 | #include <bits.stdc++>
      |          ^~~~~~~~~~~~~
compilation terminated.