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 23, 2024 18:50AnSaAnSaScore: 5,275Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 23, 2024 18:505,22939,732,03415,688,0001,045,0002,281,472
2Jan 23, 2024 18:505,23340,844,86316,744,00002,281,472
3Jan 23, 2024 18:505,27343,588,12815,880,000992,0002,387,968
4Jan 23, 2024 18:505,27344,474,82315,880,000992,0002,281,472
5Jan 23, 2024 18:505,27448,245,21914,891,0001,985,0002,281,472
6Jan 23, 2024 18:505,27441,042,29214,893,0001,985,0002,400,256
7Jan 23, 2024 18:505,27533,445,01915,888,000993,0002,396,160
8Jan 23, 2024 18:505,27632,782,86814,898,0001,986,0002,281,472
9Jan 23, 2024 18:505,29034,200,42115,932,000995,0002,396,160
10Jan 23, 2024 18:505,45285,472,42517,445,20502,285,568
11Jan 23, 2024 18:505,45387,640,94017,451,19702,285,568
12Jan 23, 2024 18:505,46281,222,63017,477,80202,281,472