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:13Keichi TakahashiKeichi TakahashiScore: 5,450Success
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:135,40350,506,89415,256,0002,034,0002,519,040
2May 26, 2022 12:135,42337,405,28417,353,00002,519,040
3May 26, 2022 12:135,42438,297,40514,295,0003,063,0002,383,872
4May 26, 2022 12:135,42734,160,67417,365,00002,519,040
5May 26, 2022 12:135,43245,127,50016,359,0001,022,0002,387,968
6May 26, 2022 12:135,44049,125,14717,409,00002,519,040
7May 26, 2022 12:135,45039,530,78516,414,0001,025,0002,519,040
8May 26, 2022 12:135,46034,403,75016,445,0001,027,0002,519,040
9May 26, 2022 12:135,46543,204,73716,460,0001,028,0002,387,968
10May 26, 2022 12:135,67486,280,82518,155,23302,281,472
11May 26, 2022 12:135,67487,719,89718,158,32902,277,376
12May 26, 2022 12:135,69185,781,65718,210,78502,277,376