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 18, 2024 21:58zielajzielajScore: 4,182Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 18, 2024 21:584,13836,724,42712,224,0001,018,0002,269,184
2Aug 18, 2024 21:584,14325,851,13213,259,00002,490,368
3Aug 18, 2024 21:584,15535,238,83713,296,00002,490,368
4Aug 18, 2024 21:584,15533,281,55013,296,00002,269,184
5Aug 18, 2024 21:584,16530,391,76113,329,00002,531,328
6Aug 18, 2024 21:584,17326,797,61412,328,0001,027,0002,490,368
7Aug 18, 2024 21:584,18233,234,67613,382,00002,494,464
8Aug 18, 2024 21:584,18938,161,76813,404,00002,490,368
9Aug 18, 2024 21:584,20329,809,51112,415,0001,034,0002,531,328
10Aug 18, 2024 21:584,42670,333,91214,161,75902,236,416
11Aug 18, 2024 21:584,44868,256,42114,233,33302,269,184
12Aug 18, 2024 21:584,44869,906,38214,234,94302,244,608