Login
Register
QOJ.ac
QOJ
QOJ
Contests
Category
Problems
Submissions
Hack!
Blogs
Time Limit: 4 s
Memory Limit: 512 MB
Total points: 100
[
-15
]
# 9684. 倾诉
Statistics
Statement
Submit
Custom Test
Attachments
The problem was used in the following contest:
IOI 2025 中国国家队选拔 第一试 (CTS 2025 Day 1)
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