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 listAug 3, 2024 05:06jeffplaisancejeffplaisanceScore: 4,491Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 05:064,45831,629,08112,228,0002,038,0002,281,472
2Aug 3, 2024 05:064,46429,625,19413,265,0001,020,0002,281,472
3Aug 3, 2024 05:064,46830,674,87414,297,00002,281,472
4Aug 3, 2024 05:064,48033,027,72712,289,0002,048,0002,396,160
5Aug 3, 2024 05:064,48234,562,79514,343,00002,281,472
6Aug 3, 2024 05:064,48834,279,80713,337,0001,025,0002,281,472
7Aug 3, 2024 05:064,49134,816,20814,371,00002,396,160
8Aug 3, 2024 05:064,49831,526,45413,365,0001,028,0002,400,256
9Aug 3, 2024 05:064,50042,395,96414,400,00002,281,472
10Aug 3, 2024 05:064,71090,703,58715,072,64802,301,952
11Aug 3, 2024 05:064,72966,375,55615,133,54802,301,952
12Aug 3, 2024 05:064,73981,318,85415,165,94202,289,664