Login
Register
QOJ.ac
QOJ
QOJ
Contests
Category
Problems
Submissions
Hack!
Blogs
Time Limit: 12 s
Memory Limit: 256 MB
[
0
]
# 4521. Tree Stands / Elves
Statistics
Statement
(Open Cup)
Submit
Custom Test
The problem was used in the following contest:
CTU Open Contest 2016
Moscow International Workshops 2016. Day 5. The Czech Grand Prix
XVII Open Cup named after E.V. Pankratiev. Czech Grand Prix
Source code:answer
Language
C 99
C 11
C++ 98
C++ 11
C++ 14
C++ 17
C++ 20
C++ 23
C++ 26
D
Go
Haskell
Java 8
Java 11
Java 17
Java 21
Kotlin
Pascal
Python 3
Rust
Upload by editor
Upload from local
use advanced editor
Browse
Submit
Source code:answer
Language
C 99
C 11
C++ 98
C++ 11
C++ 14
C++ 17
C++ 20
C++ 23
C++ 26
D
Go
Haskell
Java 8
Java 11
Java 17
Java 21
Kotlin
Pascal
Python 3
Rust
Upload by editor
Upload from local
use advanced editor
Browse
Text file:input.txt
Upload by editor
Upload from local
use advanced editor
Browse
Run