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 15, 2024 04:54Steve BronderSteve BronderScore: 5,373Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 15, 2024 04:545,32032,895,28016,022,0001,001,0002,289,664
2Apr 15, 2024 04:545,34740,700,48715,098,0002,013,0002,523,136
3Apr 15, 2024 04:545,35046,915,07015,106,0002,014,0002,265,088
4Apr 15, 2024 04:545,36737,078,64415,153,0002,020,0002,289,664
5Apr 15, 2024 04:545,36836,955,77615,156,0002,020,0002,273,280
6Apr 15, 2024 04:545,37234,200,38015,167,0002,022,0002,289,664
7Apr 15, 2024 04:545,37340,491,31716,181,0001,011,0002,289,664
8Apr 15, 2024 04:545,37435,861,60215,174,0002,023,0002,289,664
9Apr 15, 2024 04:545,38035,495,01715,192,0002,025,0002,265,088
10Apr 15, 2024 04:545,56784,409,22417,812,83602,289,664
11Apr 15, 2024 04:545,57572,431,25017,839,69402,289,664
12Apr 15, 2024 04:545,57884,111,32917,850,40002,269,184