Пожалуйста, прочтите новое правило об ограничении использования AI-инструментов. ×

1816B.Grid Reconstruction: General Case

Правка en1, от 2the0No0Star2Boy, 2023-06-18 01:47:43

Can the solution bellow be applied (with small modification) to the general case of N x N? (Solution in One Note).

#### BTW: use dark mode for better reading. 1816B - Grid Reconstruction

I did think about adding a "virtual" row and/or column to make matrix even by even, and saying that values of positions are 0, so the answer will (maybe?) not be affected.

link to problem: https://codeforces.me/problemset/problem/1816/B

Теги constructive

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en12 Английский 2the0No0Star2Boy 2024-04-29 00:05:20 4 Tiny change: 'd, my idea is use the f' -> 'd, my idea, use the f'
en11 Английский 2the0No0Star2Boy 2023-06-18 02:05:53 0 (published)
en10 Английский 2the0No0Star2Boy 2023-06-18 02:05:12 13
en9 Английский 2the0No0Star2Boy 2023-06-18 02:03:59 23
en8 Английский 2the0No0Star2Boy 2023-06-18 02:03:33 116
en7 Английский 2the0No0Star2Boy 2023-06-18 02:02:57 4
en6 Английский 2the0No0Star2Boy 2023-06-18 02:02:09 50788 Reverted to en4
en5 Английский 2the0No0Star2Boy 2023-06-18 02:01:07 50788
en4 Английский 2the0No0Star2Boy 2023-06-18 02:00:13 8 Tiny change: ' in c++:\n#include' -> ' in c++:\n\n\n\n\n#include'
en3 Английский 2the0No0Star2Boy 2023-06-18 01:59:44 1244
en2 Английский 2the0No0Star2Boy 2023-06-18 01:52:20 250
en1 Английский 2the0No0Star2Boy 2023-06-18 01:47:43 649 Initial revision (saved to drafts)