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 listDec 21, 2024 11:50LaihoLaihoScore: 5,393Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2024 11:505,36034,144,54915,134,0002,017,0002,285,568
2Dec 21, 2024 11:505,36335,815,52816,154,0001,009,0002,375,680
3Dec 21, 2024 11:505,38939,792,23615,217,0002,029,0002,367,488
4Dec 21, 2024 11:505,39038,937,02616,233,0001,014,0002,371,584
5Dec 21, 2024 11:505,39341,093,34915,228,0002,030,0002,371,584
6Dec 21, 2024 11:505,39643,931,92815,237,0002,031,0002,285,568
7Dec 21, 2024 11:505,40146,328,82716,268,0001,016,0002,375,680
8Dec 21, 2024 11:505,40739,682,38915,266,0002,035,0002,461,696
9Dec 21, 2024 11:505,43034,730,06015,331,0002,044,0002,371,584