Submission #1047198

#TimeUsernameProblemLanguageResultExecution timeMemory
1047198EntityPlanttBouquet (EGOI24_bouquet)C++17
8 / 100
0 ms348 KiB
#include <iostream> #include <cassert> using namespace std; const int N = 2e5 + 5; int dp[N]; signed main() { ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); int n, r; cin >> n >> r; cout << (n + r) / (r + 1); return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...