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 listJan 19, 2024 09:20AnSaAnSaScore: 5,586Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2024 09:205,50150,846,87016,567,0001,035,0002,461,696
2Jan 19, 2024 09:205,51746,686,16716,617,0001,038,0002,465,792
3Jan 19, 2024 09:205,51844,199,32416,619,0001,038,0002,473,984
4Jan 19, 2024 09:205,53141,796,70116,657,0001,041,0002,392,064
5Jan 19, 2024 09:205,58245,421,38016,870,000992,0002,465,792
6Jan 19, 2024 09:205,58654,738,60115,888,0001,986,0002,375,680
7Jan 19, 2024 09:205,58653,338,44715,889,0001,986,0002,375,680
8Jan 19, 2024 09:205,58745,618,77415,891,0001,986,0002,383,872
9Jan 19, 2024 09:205,58747,469,99917,879,00002,465,792
10Jan 19, 2024 09:205,76484,543,56418,444,37602,289,664
11Jan 19, 2024 09:205,77170,565,18718,467,92702,297,856
12Jan 19, 2024 09:205,79194,117,79918,530,29802,293,760