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 12, 2024 02:47Yuriy LyfenkoYuriy LyfenkoScore: 4,458Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 02:474,420541,559,64412,124,0002,020,0002,265,088
2Jun 12, 2024 02:474,434533,153,85712,163,0002,027,0002,519,040
3Jun 12, 2024 02:474,437539,529,49413,184,0001,014,0002,265,088
4Jun 12, 2024 02:474,443544,859,92813,204,0001,015,0002,265,088
5Jun 12, 2024 02:474,445542,459,45212,192,0002,032,0002,260,992
6Jun 12, 2024 02:474,446547,443,82113,210,0001,016,0002,260,992
7Jun 12, 2024 02:474,458542,109,48613,248,0001,019,0002,523,136
8Jun 12, 2024 02:474,472541,054,12414,310,00002,523,136
9Jun 12, 2024 02:474,477541,901,74513,302,0001,023,0002,523,136
10Jun 12, 2024 02:474,617591,178,25214,773,46002,289,664
11Jun 12, 2024 02:474,620580,876,97314,782,94902,240,512
12Jun 12, 2024 02:474,642566,657,11914,854,71202,281,472