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 3, 2023 21:23Hal FHal FScore: 4,739Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 21:234,72634,475,46413,107,0002,016,0002,289,664
2Jan 3, 2023 21:234,72739,236,81914,118,0001,008,0002,289,664
3Jan 3, 2023 21:234,72932,205,51413,115,0002,017,0002,289,664
4Jan 3, 2023 21:234,73430,909,23514,140,0001,010,0002,289,664
5Jan 3, 2023 21:234,73731,772,94313,137,0002,021,0002,289,664
6Jan 3, 2023 21:234,73731,999,44513,138,0002,021,0002,289,664
7Jan 3, 2023 21:234,73931,026,04413,144,0002,022,0002,281,472
8Jan 3, 2023 21:234,75239,191,93913,178,0002,027,0002,289,664
9Jan 3, 2023 21:234,76834,501,46314,240,0001,017,0002,265,088
10Jan 3, 2023 21:234,96478,394,60415,885,61002,174,976
11Jan 3, 2023 21:234,97684,220,53215,922,77002,285,568
12Jan 3, 2023 21:234,98183,937,88415,938,25502,289,664