Search posts, tags, users, and pages
eclaircp
c da p
Problem Link C++ Code class Solution { bool check(int x, vector<int> &piles, int h, int n) { long long hours = 0; for(int i=0; i<n; i++) { if(piles[i]%x == 0) { hours += piles[i]/x; } el...
Markdown supported · ⌘↵ to post
No responses yet.