Title: Mirko at construction site (python,cpp,java) · Issue #109 · ArmanKumar21/python-cpp-html-programs-projects · GitHub
Open Graph Title: Mirko at construction site (python,cpp,java) · Issue #109 · ArmanKumar21/python-cpp-html-programs-projects
X Title: Mirko at construction site (python,cpp,java) · Issue #109 · ArmanKumar21/python-cpp-html-programs-projects
Description: Mirko is monitoring a construction site. He monitors buildings enumerated from to , starting from the left. For each building, he knows the current number of floors and the number of floors built on each day. He needs to know the answer ...
Open Graph Description: Mirko is monitoring a construction site. He monitors buildings enumerated from to , starting from the left. For each building, he knows the current number of floors and the number of floors built o...
X Description: Mirko is monitoring a construction site. He monitors buildings enumerated from to , starting from the left. For each building, he knows the current number of floors and the number of floors built o...
Opengraph URL: https://github.com/ArmanKumar21/python-cpp-html-programs-projects/issues/109
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Mirko at construction site (python,cpp,java)","articleBody":"Mirko is monitoring a construction site. He monitors buildings enumerated from to , starting from the left. For each building, he knows the current number of floors and the number of floors built on each day. He needs to know the answer to queries. The answer to each query is the index of the tallest building after days, as defined by the query. Your task is to help Mirko find the answers to these queries.\r\n\r\nInput Format\r\n\r\nThe first line consists of the numbers and . The second line consists of integers, where the integer represents the initial height of the building. The third line consists of integers, where the integer represents the number of floors erected in one day for the building. The following lines consist of the integer, , representing the day in the query.\r\n\r\nOutput Format\r\n\r\nFor each query, output one number which represents the index of the tallest building after days. If there is more than one building, output the building with the greatest index in the input array (with indexes starting at 1).\r\n\r\nConstraints:\r\n-\u003e 1\u003c= N\u003c= 10^5\r\n-\u003e 1\u003c= Q\u003c= 10^5\r\n\r\nEvery other integer in the input will fit in a 32-bit signed integer. And they will be non-negative integers.\r\nSample Input\r\n\r\n3 6\r\n7 5 1\r\n1 2 3\r\n0\r\n1\r\n2\r\n3\r\n4\r\n5\r\nSample Output\r\n\r\n1\r\n1\r\n2\r\n2\r\n3\r\n3 ","author":{"url":"https://github.com/ArmanKumar21","@type":"Person","name":"ArmanKumar21"},"datePublished":"2022-10-15T07:37:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/109/python-cpp-html-programs-projects/issues/109"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4c8a2375-7954-db95-1a26-8a1ad7211dbb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C7E4:C551D:68375E6:8E3025C:697863C2 |
| html-safe-nonce | 3ac8646056f83a157bd6d1e7296229e749c0b7593719fdc980ebd0dfa369f93e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDN0U0OkM1NTFEOjY4Mzc1RTY6OEUzMDI1Qzo2OTc4NjNDMiIsInZpc2l0b3JfaWQiOiIxNDU2NzkxNjIzNjg0MzUwOTE0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2d518002348dd9fe3341b8e1950c699d768dadf1a4c33c5dc49ca42116135c3a |
| hovercard-subject-tag | issue:1410081566 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ArmanKumar21/python-cpp-html-programs-projects/109/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0ed2d8ec5af09dbeb9f6af1c6e947a92818b9533100f57f4ef907760cfc8aa20/ArmanKumar21/python-cpp-html-programs-projects/issues/109 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0ed2d8ec5af09dbeb9f6af1c6e947a92818b9533100f57f4ef907760cfc8aa20/ArmanKumar21/python-cpp-html-programs-projects/issues/109 |
| og:image:alt | Mirko is monitoring a construction site. He monitors buildings enumerated from to , starting from the left. For each building, he knows the current number of floors and the number of floors built o... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ArmanKumar21 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50 |
| turbo-cache-control | no-preview |
| go-import | github.com/ArmanKumar21/python-cpp-html-programs-projects git https://github.com/ArmanKumar21/python-cpp-html-programs-projects.git |
| octolytics-dimension-user_id | 99328861 |
| octolytics-dimension-user_login | ArmanKumar21 |
| octolytics-dimension-repository_id | 547871299 |
| octolytics-dimension-repository_nwo | ArmanKumar21/python-cpp-html-programs-projects |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 547871299 |
| octolytics-dimension-repository_network_root_nwo | ArmanKumar21/python-cpp-html-programs-projects |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 520b65a872113b919c1bbdb03834a50af15859fd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width