Login
Register
QOJ.ac
QOJ
QOJ
Contests
Category
Problems
Submissions
Hack!
Blogs
PKU v. THU (Preliminary Round 2)
Total points: 100
Output Only
[
+2
]
# 327. Prime Tree
Statistics
Statement
Submit
Custom Test
Attachments
The problem was used in the following contest:
European Junior Olympiad in Informatics 2018 Day 2
Upload a .zip file containing 1.ans, 2.ans, 3.ans, 4.ans, 5.ans, 6.ans, 7.ans, 8.ans, 9.ans, 10.ans:
Browse
Submit
or upload files one by one:
Text file:1.ans
Upload by editor
Upload from local
use advanced editor
Browse
Text file:2.ans
Upload by editor
Upload from local
use advanced editor
Browse
Text file:3.ans
Upload by editor
Upload from local
use advanced editor
Browse
Text file:4.ans
Upload by editor
Upload from local
use advanced editor
Browse
Text file:5.ans
Upload by editor
Upload from local
use advanced editor
Browse
Text file:6.ans
Upload by editor
Upload from local
use advanced editor
Browse
Text file:7.ans
Upload by editor
Upload from local
use advanced editor
Browse
Text file:8.ans
Upload by editor
Upload from local
use advanced editor
Browse
Text file:9.ans
Upload by editor
Upload from local
use advanced editor
Browse
Text file:10.ans
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