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 12, 2024 13:47vahookvahookScore: 4,496Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 12, 2024 13:474,46430,446,00312,245,0002,040,0002,396,160
2Aug 12, 2024 13:474,47835,678,50713,308,0001,023,0002,281,472
3Aug 12, 2024 13:474,48037,958,73813,312,0001,024,0002,281,472
4Aug 12, 2024 13:474,48525,924,97914,351,00002,404,352
5Aug 12, 2024 13:474,48734,575,60413,332,0001,025,0002,281,472
6Aug 12, 2024 13:474,49531,705,56013,357,0001,027,0002,281,472
7Aug 12, 2024 13:474,49634,870,76813,359,0001,027,0002,281,472
8Aug 12, 2024 13:474,50841,927,53914,424,00002,281,472
9Aug 12, 2024 13:474,51635,381,32614,451,00002,281,472
10Aug 12, 2024 13:474,75682,779,23915,219,50502,297,856
11Aug 12, 2024 13:474,76757,103,10215,255,06302,297,856
12Aug 12, 2024 13:474,80982,209,80315,389,25202,301,952