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 29, 2022 16:29Keichi TakahashiKeichi TakahashiScore: 5,589Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2022 16:295,58242,392,65416,869,000992,0002,379,776
2May 29, 2022 16:295,58437,830,31716,878,000992,0002,514,944
3May 29, 2022 16:295,58437,237,95416,878,000992,0002,265,088
4May 29, 2022 16:295,58537,123,27916,880,000992,0002,379,776
5May 29, 2022 16:295,58641,303,28015,888,0001,986,0002,506,752
6May 29, 2022 16:295,58846,149,36716,887,000993,0002,383,872
7May 29, 2022 16:295,58950,241,09116,892,000993,0002,265,088
8May 29, 2022 16:295,59740,724,89615,920,0001,990,0002,396,160
9May 29, 2022 16:295,60843,050,90715,951,0001,993,0002,387,968
10May 29, 2022 16:295,75083,684,98718,398,57302,281,472
11May 29, 2022 16:295,75792,545,62918,423,19802,273,280
12May 29, 2022 16:295,78680,157,00318,514,35602,277,376