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 14:20Drew GarciaDrew GarciaScore: 5,180Success
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 14:205,14337,169,69314,400,0002,057,0002,404,352
2Apr 17, 2024 14:205,14338,334,56015,431,0001,028,0002,281,472
3Apr 17, 2024 14:205,14935,000,87616,476,00002,269,184
4Apr 17, 2024 14:205,15931,005,68313,414,0003,095,0002,519,040
5Apr 17, 2024 14:205,16433,998,37214,459,0002,065,0002,269,184
6Apr 17, 2024 14:205,17731,686,63415,532,0001,035,0002,269,184
7Apr 17, 2024 14:205,18040,100,13815,540,0001,036,0002,404,352
8Apr 17, 2024 14:205,18337,891,56516,584,00002,273,280
9Apr 17, 2024 14:205,18336,291,21615,548,0001,036,0002,269,184
10Apr 17, 2024 14:205,51785,966,30817,654,60602,301,952
11Apr 17, 2024 14:205,53781,016,60517,717,77602,293,760
12Apr 17, 2024 14:205,55660,603,63317,777,92002,174,976