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 listSep 6, 2024 09:11Joseph KuoJoseph KuoScore: 12,197Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 6, 2024 09:0912,08868,971,1612,035,00036,645,0002,293,760
2Sep 6, 2024 09:0912,15569,615,5786,981,00031,914,0002,293,760
3Sep 6, 2024 09:1112,15867,073,223038,907,0002,510,848
4Sep 6, 2024 09:0912,19765,186,1829,007,00030,023,0002,293,760
5Sep 6, 2024 09:1112,21464,609,2898,017,00031,067,0002,506,752
6Sep 6, 2024 09:1112,25966,754,60715,088,00024,141,0002,293,760