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 2, 2023 22:00Jack FrigaardJack FrigaardScore: 4,809Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 22:004,78730,581,12113,276,0002,042,0002,392,064
2Jan 2, 2023 22:004,78831,801,68013,278,0002,042,0002,277,376
3Jan 2, 2023 22:004,79433,192,14113,296,0002,045,0002,527,232
4Jan 2, 2023 22:004,79631,216,04113,300,0002,046,0002,527,232
5Jan 2, 2023 22:004,79632,420,18813,301,0002,046,0002,277,376
6Jan 2, 2023 22:004,79729,061,03113,304,0002,046,0002,547,712
7Jan 2, 2023 22:004,80937,034,43714,363,0001,025,0002,285,568
8Jan 2, 2023 22:004,81137,932,74214,368,0001,026,0002,285,568
9Jan 2, 2023 22:004,82331,676,06214,404,0001,028,0002,285,568
10Jan 2, 2023 22:005,047102,691,75416,149,33702,297,856
11Jan 2, 2023 22:005,05582,903,00416,175,82902,301,952
12Jan 2, 2023 22:005,07270,089,49316,230,01702,306,048