Login
Register
QOJ.ac
QOJ
QOJ
Contests
Category
Problems
Submissions
Hack!
Blogs
PKU v. THU (Preliminary Round 2)
Time Limit: 0.2 s
Memory Limit: 256 MB
Total points: 100
[
+2
]
# 149. Peru
Statistics
Statement
(български)
(Deutsch)
(Magyar nyelv)
(Italiano)
(Română)
(Русский)
(украї́нська мо́ва)
Submit
Custom Test
Attachments
The problem was used in the following contest:
Romanian Master of Informatics 2020 Day 1
IOI 2023 中国国家队集训@威海 Day 3
Source code:answer
Language
C++ 98
C++ 11
C++ 14
C++ 17
C++ 20
C++ 23
C 89
C 99
C 11
D
Python 3
Java 8
Java 11
Pascal
Rust
Upload by editor
Upload from local
use advanced editor
Browse
Submit
Source code:answer
Language
C++ 98
C++ 11
C++ 14
C++ 17
C++ 20
C++ 23
C 89
C 99
C 11
D
Python 3
Java 8
Java 11
Pascal
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