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 listJun 13, 2024 18:03джулисджулисScore: 5,279Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2024 18:035,26242,522,99015,849,000990,0002,379,776
2Jun 13, 2024 18:035,26540,958,98614,866,0001,982,0002,371,584
3Jun 13, 2024 18:035,27142,429,18615,874,000992,0002,293,760
4Jun 13, 2024 18:035,27742,345,37115,892,000993,0002,367,488
5Jun 13, 2024 18:035,27742,552,91614,900,0001,986,0002,367,488
6Jun 13, 2024 18:035,27846,781,54714,903,0001,987,0002,293,760
7Jun 13, 2024 18:035,27943,962,89215,837,0001,055,0002,371,584
8Jun 13, 2024 18:035,28147,008,86914,910,0001,988,0002,293,760
9Jun 13, 2024 18:035,28348,819,31115,851,0001,056,0002,363,392
10Jun 13, 2024 18:035,49879,963,65317,592,37802,248,704
11Jun 13, 2024 18:035,50696,768,01017,620,07102,256,896
12Jun 13, 2024 18:035,52294,597,16117,671,76802,232,320