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 2, 2023 20:48Alexander KimAlexander KimScore: 5,845Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 20:485,78734,666,22118,519,00002,531,328
2Jan 2, 2023 20:485,79743,835,92118,551,00002,400,256
3Jan 2, 2023 20:485,81241,568,61117,565,0001,033,0002,334,720
4Jan 2, 2023 20:485,82850,735,59318,649,00002,334,720
5Jan 2, 2023 20:485,83143,779,83417,624,0001,036,0002,334,720
6Jan 2, 2023 20:485,83443,742,76218,669,00002,334,720
7Jan 2, 2023 20:485,84544,589,48817,664,0001,039,0002,334,720
8Jan 2, 2023 20:485,88395,248,40718,825,37702,232,320
9Jan 2, 2023 20:485,89944,508,99018,876,00002,334,720
10Jan 2, 2023 20:485,90237,216,83116,899,0001,988,0002,334,720
11Jan 2, 2023 20:485,903101,852,03818,888,25002,240,512
12Jan 2, 2023 20:485,98382,451,39119,145,84602,232,320