Problem G - Forest for the Trees
 
 
 
 
Contest status
 
 
# When Who Problem Lang Verdict Time Memory
235256567 Dec/01/2023 19:50 saintrock G - Forest for the Trees C++17 (GCC 7-32) Accepted 124 ms 300 KB
344447743 Oct/18/2025 10:01 Magical Fish: miscalculation53, confeito, myoi0905# G - Forest for the Trees C++23 (GCC 14-64, msys2) Accepted 593 ms 100 KB
350909040 Nov/27/2025 22:42 Oecher: vishld, snokes# G - Forest for the Trees C++23 (GCC 14-64, msys2) Accepted 140 ms 100 KB
235296760 Dec/02/2023 03:04 saintrock G - Forest for the Trees C++17 (GCC 7-32) Accepted 249 ms 300 KB
235304350 Dec/02/2023 05:03 saintrock G - Forest for the Trees C++17 (GCC 7-32) Accepted 249 ms 300 KB
350908999 Nov/27/2025 22:42 Oecher: vishld, snokes# G - Forest for the Trees C++23 (GCC 14-64, msys2) Accepted 155 ms 100 KB
231917997 Nov/08/2023 13:04 Jmu_Acmers: hhhhhl, CWJ_123, G_LX# G - Forest for the Trees C++20 (GCC 11-64) Accepted 202 ms 37300 KB
345954857 Oct/27/2025 04:07 team: aqxa2k, alexlikemath007, aqxa# G - Forest for the Trees C++23 (GCC 14-64, msys2) Accepted 452 ms 0 KB
268065144 Jun/30/2024 06:26 Javier_Rivera G - Forest for the Trees C++20 (GCC 13-64) Accepted 296 ms 0 KB
238468256 Dec/23/2023 11:40 rabhunter: jcplist, NoName14159, chengbilly92# G - Forest for the Trees C++20 (GCC 11-64) Accepted 124 ms 62700 KB
386171772 Aug/08/2026 08:32 Serendipity__# G - Forest for the Trees C++23 (GCC 14-64, msys2) Accepted 1140 ms 95900 KB
324310649 Jun/14/2025 03:57 snacache G - Forest for the Trees C++17 (GCC 7-32) Accepted 343 ms 15800 KB
345283471 Oct/23/2025 08:10 conqueror_of_tourist G - Forest for the Trees C++20 (GCC 13-64) Accepted 1203 ms 0 KB
354891263 Dec/24/2025 08:54 PatrickGu G - Forest for the Trees C++23 (GCC 14-64, msys2) Accepted 375 ms 0 KB
338532704 Sep/13/2025 23:28 cicipici: KalasLavas, artew, tatar4onok# G - Forest for the Trees C++17 (GCC 7-32) Accepted 61 ms 100 KB
270634729 Jul/15/2024 16:08 Favour: KaphI, EternalJourney# G - Forest for the Trees C++20 (GCC 13-64) Accepted 156 ms 3200 KB
285445005 Oct/12/2024 13:51 carton road: scottlv95, drome, c.young_sb# G - Forest for the Trees C++20 (GCC 13-64) Accepted 156 ms 100 KB
245890019 Feb/11/2024 19:32 Aristides G - Forest for the Trees C++20 (GCC 11-64) Accepted 748 ms 3700 KB
388470523 Aug/26/2026 16:30 AutomatiC__ G - Forest for the Trees C++23 (GCC 14-64, msys2) Accepted 46 ms 100 KB
232419082 Nov/11/2023 20:48 Agreb# G - Forest for the Trees C++20 (GCC 11-64) Accepted 421 ms 2600 KB
238466397 Dec/23/2023 11:24 ZCK is a millionaire now!: -1e11, rgnerdplayer# G - Forest for the Trees C++20 (GCC 11-64) Accepted 1746 ms 100100 KB
236779571 Dec/11/2023 16:11 OnTheSpot: Atekichan, Pols_Agyi_Pols# G - Forest for the Trees C++20 (GCC 11-64) Accepted 1528 ms 800 KB
277023676 Aug/18/2024 11:35 Ausp3x G - Forest for the Trees C++20 (GCC 13-64) Accepted 640 ms 0 KB
289845359 Nov/04/2024 04:01 Trentium G - Forest for the Trees C++17 (GCC 7-32) Accepted 374 ms 200 KB
385232578 Aug/02/2026 09:07 Brapla# G - Forest for the Trees C++23 (GCC 14-64, msys2) Accepted 78 ms 0 KB
376750142 May/31/2026 10:02 benjaminnnn G - Forest for the Trees C++23 (GCC 14-64, msys2) Accepted 93 ms 0 KB
238205711 Dec/21/2023 06:03 Nicolas125841 G - Forest for the Trees C++17 (GCC 7-32) Accepted 202 ms 1300 KB
254272325 Mar/31/2024 11:41 ZJUT6: AbracaSora, xiezijie, Southernwood# G - Forest for the Trees C++20 (GCC 13-64) Accepted 155 ms 1600 KB
254652774 Apr/02/2024 06:34 Southernwood G - Forest for the Trees C++20 (GCC 13-64) Accepted 156 ms 100 KB
231429072 Nov/05/2023 10:46 NSU 1: Ladder moment: Lylova, amokrousov, Timonnable# G - Forest for the Trees C++20 (GCC 11-64) Accepted 1996 ms 2000 KB
230963579 Nov/02/2023 14:42 -14# G - Forest for the Trees C++20 (GCC 11-64) Accepted 108 ms 98400 KB
231503643 Nov/05/2023 21:33 BalintR# G - Forest for the Trees C++20 (GCC 11-64) Accepted 171 ms 100 KB
282557236 Sep/23/2024 07:04 ayingna# G - Forest for the Trees C++20 (GCC 13-64) Accepted 421 ms 100 KB
231400790 Nov/05/2023 03:33 Atcoder 2800: RandomKami, smax# G - Forest for the Trees C++20 (GCC 11-64) Accepted 140 ms 100 KB
282557178 Sep/23/2024 07:04 ayingna# G - Forest for the Trees C++20 (GCC 13-64) Accepted 265 ms 100 KB
286396525 Oct/17/2024 17:42 clement1n0t G - Forest for the Trees C++23 (GCC 14-64, msys2) Accepted 531 ms 100 KB
243695966 Jan/28/2024 05:03 __nullptr__ G - Forest for the Trees C++17 (GCC 7-32) Accepted 218 ms 1900 KB
336965551 Sep/05/2025 11:25 Salmon2653 G - Forest for the Trees C++23 (GCC 14-64, msys2) Accepted 140 ms 100 KB
233736864 Nov/21/2023 23:08 BookingNWERC23: _Mugiwara_, Jonick, mrtempo# G - Forest for the Trees C++17 (GCC 7-32) Accepted 156 ms 400 KB
374629466 May/15/2026 18:34 gubidubi G - Forest for the Trees C++23 (GCC 14-64, msys2) Accepted 109 ms 100 KB
230986250 Nov/02/2023 17:11 Ἄλγος: lebarelue, magnus.hegdahl# G - Forest for the Trees C++20 (GCC 11-64) Accepted 1949 ms 1100 KB
239151842 Dec/28/2023 07:30 Samigina: Mackerel_Pike, forxen, kiwiHM# G - Forest for the Trees C++17 (GCC 7-32) Accepted 124 ms 16800 KB
286249242 Oct/16/2024 18:03 NYCU_CartesianTree: yyh603, ScottChou, Aestivate# G - Forest for the Trees C++17 (GCC 7-32) Accepted 281 ms 100 KB
280720347 Sep/11/2024 14:15 Xeppelin: KiKoS, arzhantsev64, Akulyat# G - Forest for the Trees C++17 (GCC 7-32) Accepted 328 ms 100 KB
274052164 Aug/02/2024 19:18 alexxela12345# G - Forest for the Trees C++20 (GCC 13-64) Accepted 186 ms 0 KB
239103699 Dec/27/2023 19:30 CheezeKEK: ArtyomTsepov, reshke# G - Forest for the Trees C++17 (GCC 9-64) Accepted 358 ms 1800 KB
285967422 Oct/15/2024 01:56 gabmei G - Forest for the Trees C++20 (GCC 13-64) Accepted 281 ms 100 KB
323666872 Jun/09/2025 19:52 Andrewing10 G - Forest for the Trees C++23 (GCC 14-64, msys2) Accepted 124 ms 117800 KB
286537081 Oct/18/2024 14:41 nella17 G - Forest for the Trees C++20 (GCC 13-64) Accepted 233 ms 100 KB
389181774 Sep/02/2026 13:37 hexiang_xiaoyang G - Forest for the Trees C++23 (GCC 14-64, msys2) Accepted 140 ms 100 KB
Sort by: