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 listJan 23, 2024 16:32Gokberk YaltirakliGokberk YaltirakliScore: 5,631Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 23, 2024 16:325,59646,035,49116,853,0001,053,0002,273,280
2Jan 23, 2024 16:325,61843,333,52915,980,0001,997,0002,273,280
3Jan 23, 2024 16:325,62141,747,71916,989,000999,0002,273,280
4Jan 23, 2024 16:325,62641,161,93716,002,0002,000,0002,531,328
5Jan 23, 2024 16:325,62652,740,15716,004,0002,000,0002,273,280
6Jan 23, 2024 16:325,62735,864,06716,007,0002,000,0002,289,664
7Jan 23, 2024 16:325,63145,833,01617,017,0001,001,0002,289,664
8Jan 23, 2024 16:325,63241,261,73616,021,0002,002,0002,269,184
9Jan 23, 2024 16:325,63442,350,06417,027,0001,001,0002,383,872
10Jan 23, 2024 16:325,81174,791,24518,594,74302,301,952
11Jan 23, 2024 16:325,860100,435,54118,753,40502,301,952
12Jan 23, 2024 16:325,86193,815,57118,753,94302,301,952