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 listSep 29, 2021 22:50Mikhail ShirokovMikhail ShirokovScore: 5,757Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 29, 2021 22:505,72146,138,15516,272,0002,034,0002,519,040
2Sep 29, 2021 22:505,72348,059,27916,280,0002,035,0002,383,872
3Sep 29, 2021 22:505,72644,092,55916,287,0002,035,0002,387,968
4Sep 29, 2021 22:505,73142,959,05417,320,0001,018,0002,523,136
5Sep 29, 2021 22:505,73238,148,69918,341,00002,387,968
6Sep 29, 2021 22:505,74342,039,05816,336,0002,042,0002,519,040
7Sep 29, 2021 22:505,75734,821,18718,422,00002,519,040
8Sep 29, 2021 22:505,76039,655,70817,409,0001,024,0002,523,136
9Sep 29, 2021 22:505,76943,000,06517,437,0001,025,0002,519,040
10Sep 29, 2021 22:505,95398,637,49719,050,70802,285,568
11Sep 29, 2021 22:505,97599,255,22119,118,67202,277,376
12Sep 29, 2021 22:505,98093,273,38319,135,63402,281,472