Forethought Future Cup - Final Round (Onsite Finalists Only)

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
1147 Forethought Future Cup - Final Round (Onsite Finalists Only) FINISHED False 7200 174833699 May 4, 2019, 5:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 755 ) D Palindrome XOR PROGRAMMING dfs and similar graphs 2600

B'You are given a string s consisting of characters "1", "0", and "?". The first character of s is guaranteed to be "1". Let m be the number of characters in s . Count the number of ways we can choose a pair of integers a, b that satisfies the following: Compute this count modulo 998244353 . The first line contains a single string s ( 1 <= q |s| <= q 1 ,000 ). s consists only of characters "1", "0" and "?". It is guaranteed that the first character of s is a "1". Print a single integer, the count of pairs that satisfy the conditions modulo 998244353 . For the first example, the pairs in base-2 are (111, 10001), (11, 10101), (1001, 11111) . '...

Tutorials

Forethought Future Cup Final Round Tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
53756066 Ra16bit D May 4, 2019, 6:12 p.m. OK GNU C++11 TESTS 28 31 102400 2600
53788363 Rubbish12345 D May 5, 2019, 11:27 a.m. OK GNU C++11 TESTS 28 31 921600 2600
64691477 ProgSlacking D Nov. 11, 2019, 1:19 p.m. OK GNU C++11 TESTS 28 31 128921600 2600
57370298 chenxiaoyan D July 20, 2019, 10:41 a.m. OK GNU C++11 TESTS 28 46 0 2600
57350027 LittleBaby D July 20, 2019, 2:50 a.m. OK GNU C++11 TESTS 28 46 0 2600
57350002 zrmpaul D July 20, 2019, 2:50 a.m. OK GNU C++11 TESTS 28 46 0 2600
53908142 stal_xy23z7b8 D May 9, 2019, 1:54 p.m. OK GNU C++11 TESTS 28 46 0 2600
57375033 Patti D July 20, 2019, 12:15 p.m. OK GNU C++11 TESTS 28 46 102400 2600
57364475 Patti D July 20, 2019, 8:46 a.m. OK GNU C++11 TESTS 28 46 102400 2600
54013431 ffffxk D May 12, 2019, 4:46 a.m. OK GNU C++11 TESTS 28 46 102400 2600
55610350 ReaLNero1 D June 16, 2019, 5:16 a.m. OK GNU C++14 TESTS 28 30 0 2600
54905372 huyufeifei D June 1, 2019, 8:33 a.m. OK GNU C++14 TESTS 28 46 0 2600
54549528 Cyanic D May 24, 2019, 8:16 a.m. OK GNU C++14 TESTS 28 46 102400 2600
53909193 vjudge5 D May 9, 2019, 2:57 p.m. OK GNU C++14 TESTS 28 46 102400 2600
57335073 luogu_bot1 D July 19, 2019, 3:45 p.m. OK GNU C++14 TESTS 28 46 204800 2600
67990727 Zetr0 D Dec. 31, 2019, 4:34 a.m. OK GNU C++14 TESTS 28 46 204800 2600
63515085 JustasZ D Oct. 26, 2019, 11:24 p.m. OK GNU C++14 TESTS 28 46 204800 2600
54140890 wilson.ho D May 14, 2019, 5:38 p.m. OK GNU C++14 TESTS 28 46 204800 2600
53798508 LODB---D D May 5, 2019, 4:48 p.m. OK GNU C++14 TESTS 28 46 307200 2600
57329130 MagicSpark D July 19, 2019, 1:24 p.m. OK GNU C++14 TESTS 28 46 307200 2600
53767870 Roundgod D May 5, 2019, 2:17 a.m. OK GNU C++17 TESTS 28 31 102400 2600
54654805 supremeyu D May 26, 2019, 7:40 a.m. OK GNU C++17 TESTS 28 46 0 2600
53769549 neal D May 5, 2019, 3:46 a.m. OK GNU C++17 TESTS 28 46 0 2600
53954758 Vwsrenzk_ZC D May 10, 2019, 11:25 a.m. OK GNU C++17 TESTS 28 46 0 2600
61561228 hjk1030 D Sept. 30, 2019, 3:38 p.m. OK GNU C++17 TESTS 28 46 0 2600
58476235 heno239 D Aug. 9, 2019, 3:15 a.m. OK GNU C++17 TESTS 28 46 0 2600
57348214 luogu_bot2 D July 20, 2019, 1:34 a.m. OK GNU C++17 TESTS 28 46 102400 2600
57361721 HacheyFucker D July 20, 2019, 7:58 a.m. OK GNU C++17 TESTS 28 46 102400 2600
57348688 luogu_bot4 D July 20, 2019, 1:56 a.m. OK GNU C++17 TESTS 28 46 102400 2600
57348222 vjudge4 D July 20, 2019, 1:35 a.m. OK GNU C++17 TESTS 28 46 102400 2600
53764663 liymbear D May 4, 2019, 9:55 p.m. OK Java 8 TESTS 28 156 0 2600
53764383 Suzukaze D May 4, 2019, 9:38 p.m. OK Java 8 TESTS 28 280 0 2600
53895857 JayceYaegandre D May 9, 2019, 5:51 a.m. OK Java 8 TESTS 28 295 0 2600
54011473 dalt D May 12, 2019, 2:47 a.m. OK Java 8 TESTS 28 342 0 2600
53834046 SigmaZ D May 7, 2019, 12:07 a.m. OK Java 8 TESTS 28 561 0 2600

remove filters

Back to search problems