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 listApr 17, 2024 17:11Joad NacerJoad NacerScore: 5,304Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 17:115,27137,243,43716,868,00002,289,664
2Apr 17, 2024 17:115,27433,847,29514,891,0001,985,0002,289,664
3Apr 17, 2024 17:115,27637,445,83214,898,0001,986,0002,289,664
4Apr 17, 2024 17:115,29439,790,63913,952,0002,989,0002,289,664
5Apr 17, 2024 17:115,29538,420,51114,952,0001,993,0002,289,664
6Apr 17, 2024 17:115,30139,867,02214,969,0001,995,0002,289,664
7Apr 17, 2024 17:115,30435,280,59514,976,0001,996,0002,273,280
8Apr 17, 2024 17:115,30739,586,53714,985,0001,998,0002,273,280
9Apr 17, 2024 17:115,33344,851,85315,058,0002,007,0002,265,088
10Apr 17, 2024 17:115,48991,312,61317,564,39502,174,976
11Apr 17, 2024 17:115,50072,098,17917,600,13102,174,976
12Apr 17, 2024 17:115,52890,135,53217,688,86002,183,168