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 listDec 6, 2023 11:37Viktor IarmolaViktor IarmolaScore: 5,587Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 6, 2023 11:375,52945,647,56117,693,00002,281,472
2Dec 6, 2023 11:375,53242,263,10616,662,0001,041,0002,396,160
3Dec 6, 2023 11:375,53645,510,80017,715,00002,396,160
4Dec 6, 2023 11:375,53743,471,81317,718,00002,281,472
5Dec 6, 2023 11:375,54352,246,51317,738,00002,392,064
6Dec 6, 2023 11:375,57840,457,67116,857,000991,0002,281,472
7Dec 6, 2023 11:375,58734,847,45115,892,0001,986,0002,404,352
8Dec 6, 2023 11:375,59444,522,36416,908,000994,0002,396,160
9Dec 6, 2023 11:375,59645,326,72715,917,0001,989,0002,281,472
10Dec 6, 2023 11:375,92683,074,50218,964,40302,289,664
11Dec 6, 2023 11:375,93483,018,63018,987,70102,293,760
12Dec 6, 2023 11:375,94984,070,68419,035,69302,297,856