Skip to content

1511 23 t1 buildfix #233

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Apr 12, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
hotfix sweet_potatoes
  • Loading branch information
Allynixtor committed Apr 11, 2023
commit dfb5209cf08450976a9b963aa8b88c5e7fea39c3
4 changes: 2 additions & 2 deletions data/course-revision/1511-22T3/sweet_potatoes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ You know that everyone will want to taste your sweet potatoes as long as you can
For each testcase, print three integers - the row and column index (starting from **0**) of the best position to place your cart, and the total number of people you will serve.

The first line contains integer **m, n**.
The next **m** lines will have **n** integers **r<sub>1</sub>, r*<sub>2</sub>, ...,r*<sub>n</sub>** denoting the density of people at that coordinate.
The next **m** lines will have **n** integers **r<sub>1</sub>, r<sub>2</sub>, ...,r<sub>n</sub>** denoting the density of people at that coordinate.

The output from your program should look **exactly** like this:

Expand All @@ -41,7 +41,7 @@ $ ./sweet_potatoes
### Assumptions/Restrictions/Clarifications

$3 \leq m, n \leq 10^5$
$0 \leq r<sub>i</sub> \leq 10^5$ for any $1 \leq i \leq n$.
$0 \leq r<sub>i</sub> \leq 10^5$ for any $1 \leq i \leq n$.
Note that this means your inputs will fit inside an `int`.

If there exists multiple places where it is best to place your cart, any applicable answer is accepted.
Expand Down