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 13, 2024 11:38Andrey LikhachevAndrey LikhachevScore: 4,668Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2024 11:384,64128,436,88812,871,0001,980,0002,285,568
2Jun 13, 2024 11:384,65640,203,31313,907,000993,0002,289,664
3Jun 13, 2024 11:384,65834,451,10313,840,0001,064,0002,289,664
4Jun 13, 2024 11:384,66034,953,83612,923,0001,988,0002,371,584
5Jun 13, 2024 11:384,66334,691,44512,933,0001,989,0002,367,488
6Jun 13, 2024 11:384,66630,725,42913,937,000995,0002,289,664
7Jun 13, 2024 11:384,66831,306,06213,942,000995,0002,473,984
8Jun 13, 2024 11:384,67233,447,36113,953,000996,0002,289,664
9Jun 13, 2024 11:384,67933,395,97612,977,0001,996,0002,379,776
10Jun 13, 2024 11:384,91587,153,03815,727,99002,248,704
11Jun 13, 2024 11:384,91862,096,82715,737,01102,244,608
12Jun 13, 2024 11:384,94172,249,24415,809,61202,240,512