Codeforces Round 709 (Div. 1, based on Technocup 2021 Final Round)

Solutions are presented as using the least memory and the fastest execution time. It also takes the top 10 most recent solutions from each language. If you want to limit to a specific index, click the "Solved" button and go to that problem.

ContestId
Name
Phase
Frozen
Duration (Seconds)
Relative Time
Start Time
1483 Codeforces Round 709 (Div. 1, based on Technocup 2021 Final Round) FINISHED False 8100 120933563 March 21, 2021, 1:20 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 15 ) F Exam PROGRAMMING trees

B"This year a Chunin Selection Exam is held again in Konoha, and taking part in it are n ninjas named s_1 , s_2 , ..., s_n . All names are distinct. One of the exam stages consists of fights between the participants. This year the rules determining the ninjas for each fight are the following: ninjas i and j fight against each other if the following conditions are held: A string a is a substring of a string b if a can be obtained from b by deletion of several (possibly, zero or all) characters from the beginning and several (possibly, zero or all) characters from the end. Your task is to find out how many fights are going to take place this year. The first line consists of the only integer n ( 1 <= q n <= q 10^{6} ) standing for the number of examinees. The following n lines contain their names. No two names coincide, all names are non-empty and consist of lowercase English letters. The total length of all names doesn't exceed 10^6 . Print the only integer standing for the number of fights. In the first example hidan fights against dan, and hanabi fights against nabi, who also fights bi. Ninjas named hanabi and bi don't fight each other since there is the ninja called nabi who breaks the third condition for them. In the second example the fights are held between abacaba and acaba, abacaba and abaca, acaba and aca, abaca and aca. "...

Tutorials

Technocup 2021: Final Round and Codeforces Round #709 — tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
110766624 rainboy F March 22, 2021, 7:31 p.m. OK GNU C11 TESTS 77 373 200601600
110776079 Warriors_fsy F March 23, 2021, 1:33 a.m. OK GNU C++11 TESTS 77 670 230400000
110746756 Rainbow_sjy.qwq F March 22, 2021, 2:56 p.m. OK GNU C++11 TESTS 77 686 222412800
110774437 Rainbow_sjy.qwq F March 23, 2021, midnight OK GNU C++11 TESTS 77 686 238489600
110762661 sh1194 F March 22, 2021, 6:24 p.m. OK GNU C++11 TESTS 77 716 222412800
110762720 sh1194 F March 22, 2021, 6:25 p.m. OK GNU C++11 TESTS 77 936 222515200
110733124 orzdevinwang F March 22, 2021, 12:21 p.m. OK GNU C++11 TESTS 77 1466 401817600
110725143 orzdevinwang F March 22, 2021, 10:57 a.m. OK GNU C++11 TESTS 77 1637 413900800
110691760 orzdevinwang F March 22, 2021, 1:28 a.m. OK GNU C++11 TESTS 77 1699 445952000
110730704 Rainbow_sjy.qwq F March 22, 2021, 11:55 a.m. OK GNU C++11 TESTS 77 1855 418816000
110744505 usachevd0 F March 22, 2021, 2:30 p.m. OK GNU C++14 TESTS 77 576 233676800
110657366 Radewoosh F March 21, 2021, 2:50 p.m. OK GNU C++14 TESTS 77 623 243200000
110774936 QZSRY F March 23, 2021, 12:34 a.m. OK GNU C++17 TESTS 77 483 213606400
110665233 AliShahali1382 F March 21, 2021, 3:18 p.m. OK GNU C++17 TESTS 77 545 241664000
110762104 CoderAnshu F March 22, 2021, 6:16 p.m. OK GNU C++17 TESTS 77 592 103116800
110780546 shb123 F March 23, 2021, 4:22 a.m. OK GNU C++17 TESTS 77 639 222617600
110691882 orzdevinwang F March 22, 2021, 1:33 a.m. OK GNU C++17 TESTS 77 1700 421990400
110657198 ecnerwala F March 21, 2021, 2:49 p.m. OK GNU C++17 (64) TESTS 77 374 134348800
110680394 Benq F March 21, 2021, 6:40 p.m. OK GNU C++17 (64) TESTS 77 389 164454400
110778747 _Wallace_61430 F March 23, 2021, 3:16 a.m. OK GNU C++17 (64) TESTS 77 592 298905600
110743341 Isoeasy F March 22, 2021, 2:16 p.m. OK GNU C++17 (64) TESTS 77 607 414720000
110762139 CoderAnshu F March 22, 2021, 6:17 p.m. OK GNU C++17 (64) TESTS 77 638 160870400
110775073 orzdevinwang F March 23, 2021, 12:43 a.m. OK GNU C++17 (64) TESTS 77 639 365772800
110676074 Benq F March 21, 2021, 5:37 p.m. OK GNU C++17 (64) TESTS 77 872 306278400
110742503 orzdevinwang F March 22, 2021, 2:07 p.m. OK GNU C++17 (64) TESTS 77 1029 365772800
110740354 orzdevinwang F March 22, 2021, 1:41 p.m. OK GNU C++17 (64) TESTS 77 1918 421888000

remove filters

Back to search problems