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 8, 2024 21:49Joad NacerJoad NacerScore: 5,011Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 8, 2024 21:494,96040,019,51515,871,00002,289,664
2May 8, 2024 21:494,96832,095,38913,910,0001,987,0002,289,664
3May 8, 2024 21:494,98143,300,98613,948,0001,992,0002,289,664
4May 8, 2024 21:494,98232,352,64313,949,0001,992,0002,289,664
5May 8, 2024 21:494,98831,735,60114,966,000997,0002,285,568
6May 8, 2024 21:495,00338,930,79015,009,0001,000,0002,269,184
7May 8, 2024 21:495,01136,969,90215,032,0001,002,0002,289,664
8May 8, 2024 21:495,02132,322,59714,058,0002,008,0002,285,568
9May 8, 2024 21:495,04440,174,28315,133,0001,008,0002,273,280
10May 8, 2024 21:495,05584,298,03916,175,15802,297,856
11May 8, 2024 21:495,12094,959,39716,383,62502,183,168
12May 8, 2024 21:495,12677,940,47216,403,15902,301,952