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 02:12jeffplaisancejeffplaisanceScore: 4,494Success
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 02:124,45940,051,50112,231,0002,038,0002,281,472
2Aug 3, 2024 02:124,46530,774,65612,247,0002,041,0002,408,448
3Aug 3, 2024 02:124,46834,170,19013,275,0001,021,0002,281,472
4Aug 3, 2024 02:124,47432,667,17014,318,00002,412,544
5Aug 3, 2024 02:124,47728,121,02613,302,0001,023,0002,404,352
6Aug 3, 2024 02:124,48837,973,50313,335,0001,025,0002,404,352
7Aug 3, 2024 02:124,49439,313,01414,381,00002,396,160
8Aug 3, 2024 02:124,49931,253,37713,369,0001,028,0002,277,376
9Aug 3, 2024 02:124,53129,938,29514,498,00002,494,464
10Aug 3, 2024 02:124,72679,452,76215,122,80102,179,072
11Aug 3, 2024 02:124,73085,254,90615,136,17502,301,952
12Aug 3, 2024 02:124,741107,131,11615,171,21402,293,760