Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listMay 26, 2022 12:12Keichi TakahashiKeichi TakahashiScore: 5,520Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 26, 2022 12:125,48641,446,31416,523,0001,032,0002,281,472
2May 26, 2022 12:125,49135,310,55516,539,0001,033,0002,531,328
3May 26, 2022 12:125,49944,348,09416,563,0001,035,0002,363,392
4May 26, 2022 12:125,50546,092,57316,580,0001,036,0002,281,472
5May 26, 2022 12:125,50745,780,57017,623,00002,289,664
6May 26, 2022 12:125,50843,698,66616,590,0001,036,0002,383,872
7May 26, 2022 12:125,52036,355,46217,665,00002,367,488
8May 26, 2022 12:125,52144,557,36416,629,0001,039,0002,289,664
9May 26, 2022 12:125,52534,888,20316,641,0001,040,0002,289,664
10May 26, 2022 12:125,67485,798,71318,157,21202,297,856
11May 26, 2022 12:125,68373,227,13418,186,19202,301,952
12May 26, 2022 12:125,69779,867,62618,231,15702,301,952