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 listJan 20, 2024 08:47matsuoka-601matsuoka-601Score: 4,868Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 20, 2024 08:474,82035,354,45314,396,0001,028,0002,523,136
2Jan 20, 2024 08:474,82134,831,30214,399,0001,028,0002,285,568
3Jan 20, 2024 08:474,82737,061,76514,417,0001,029,0002,273,280
4Jan 20, 2024 08:474,83435,883,27915,470,00002,285,568
5Jan 20, 2024 08:474,83532,526,53215,471,00002,285,568
6Jan 20, 2024 08:474,84535,332,77014,470,0001,033,0002,285,568
7Jan 20, 2024 08:474,86831,336,31214,538,0001,038,0002,285,568
8Jan 20, 2024 08:474,88031,784,02814,575,0001,041,0002,527,232
9Jan 20, 2024 08:474,90131,789,44414,637,0001,045,0002,285,568
10Jan 20, 2024 08:475,04485,551,51616,139,85402,306,048
11Jan 20, 2024 08:475,09785,433,77016,310,19002,301,952
12Jan 20, 2024 08:475,11376,230,20416,361,58602,293,760