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:51vahookvahookScore: 4,702Success
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:514,68430,391,65813,990,000999,0002,396,160
2Aug 15, 2024 14:514,68433,223,15012,991,0001,998,0002,281,472
3Aug 15, 2024 14:514,69042,356,31514,007,0001,000,0002,281,472
4Aug 15, 2024 14:514,69032,430,56514,009,0001,000,0002,281,472
5Aug 15, 2024 14:514,69235,303,48113,013,0002,002,0002,404,352
6Aug 15, 2024 14:514,69337,138,52213,015,0002,002,0002,281,472
7Aug 15, 2024 14:514,70242,270,51413,040,0002,006,0002,404,352
8Aug 15, 2024 14:514,70736,446,47014,059,0001,004,0002,400,256
9Aug 15, 2024 14:514,71533,411,74514,082,0001,005,0002,281,472
10Aug 15, 2024 14:514,94184,463,00515,812,44302,301,952
11Aug 15, 2024 14:514,95081,741,96815,841,41002,289,664
12Aug 15, 2024 14:514,97683,518,09315,922,90502,301,952