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 7, 2024 02:02zielajzielajScore: 4,585Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 7, 2024 02:024,56432,248,12814,604,00002,273,280
2Aug 7, 2024 02:024,56531,796,81513,566,0001,043,0002,281,472
3Aug 7, 2024 02:024,56731,360,59513,570,0001,043,0002,265,088
4Aug 7, 2024 02:024,57430,441,67613,591,0001,045,0002,289,664
5Aug 7, 2024 02:024,57937,836,10313,607,0001,046,0002,289,664
6Aug 7, 2024 02:024,58141,267,01714,658,00002,289,664
7Aug 7, 2024 02:024,58529,977,47213,625,0001,048,0002,289,664
8Aug 7, 2024 02:024,58640,865,13313,626,0001,048,0002,289,664
9Aug 7, 2024 02:024,59531,451,25213,653,0001,050,0002,289,664
10Aug 7, 2024 02:024,82983,106,56015,451,53602,179,072
11Aug 7, 2024 02:024,853107,350,93315,529,61402,183,168
12Aug 7, 2024 02:024,85784,021,59315,543,52602,306,048