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 15, 2024 14:18vahookvahookScore: 4,718Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 15, 2024 14:184,69136,219,27713,011,0002,001,0002,281,472
2Aug 15, 2024 14:184,69339,662,42113,017,0002,002,0002,400,256
3Aug 15, 2024 14:184,70131,141,03713,038,0002,005,0002,400,256
4Aug 15, 2024 14:184,70541,337,00014,054,0001,003,0002,396,160
5Aug 15, 2024 14:184,71031,100,17914,067,0001,004,0002,277,376
6Aug 15, 2024 14:184,71035,447,80414,068,0001,004,0002,396,160
7Aug 15, 2024 14:184,71841,677,72813,085,0002,013,0002,281,472
8Aug 15, 2024 14:184,72842,693,05713,112,0002,017,0002,281,472
9Aug 15, 2024 14:184,73835,934,95814,151,0001,010,0002,404,352
10Aug 15, 2024 14:184,94584,491,93115,824,01802,293,760
11Aug 15, 2024 14:184,94664,638,03615,825,61402,301,952
12Aug 15, 2024 14:184,97285,461,33115,909,78802,174,976