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 listJun 9, 2024 14:42AndreyTSAndreyTSScore: 5,343Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 14:425,29839,021,41414,958,0001,994,0002,289,664
2Jun 9, 2024 14:425,29838,969,29114,959,0001,994,0002,281,472
3Jun 9, 2024 14:425,29833,850,27214,961,0001,994,0002,277,376
4Jun 9, 2024 14:425,30640,499,78714,983,0001,997,0002,265,088
5Jun 9, 2024 14:425,32540,085,13715,035,0002,004,0002,289,664
6Jun 9, 2024 14:425,34234,431,60415,084,0002,011,0002,289,664
7Jun 9, 2024 14:425,34351,743,15616,091,0001,005,0002,273,280
8Jun 9, 2024 14:425,34342,318,80215,088,0002,011,0002,265,088
9Jun 9, 2024 14:425,35041,017,73716,114,0001,007,0002,277,376
10Jun 9, 2024 14:425,49581,407,55417,582,50102,174,976
11Jun 9, 2024 14:425,50764,968,52617,623,86102,293,760
12Jun 9, 2024 14:425,55989,907,93817,790,27302,252,800