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 17, 2023 22:05Ulyanov AlekseyUlyanov AlekseyScore: 5,706Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2023 22:055,67643,938,41817,153,0001,009,0002,289,664
2Jun 17, 2023 22:055,69639,664,39216,203,0002,025,0002,289,664
3Jun 17, 2023 22:055,69744,331,62117,218,0001,012,0002,531,328
4Jun 17, 2023 22:055,69939,707,36916,210,0002,026,0002,289,664
5Jun 17, 2023 22:055,70343,876,02916,222,0002,027,0002,281,472
6Jun 17, 2023 22:055,70540,256,74316,228,0002,028,0002,281,472
7Jun 17, 2023 22:055,70639,498,78516,231,0002,028,0002,289,664
8Jun 17, 2023 22:055,71043,910,21716,242,0002,030,0002,289,664
9Jun 17, 2023 22:055,72445,584,20116,283,0002,035,0002,289,664
10Jun 17, 2023 22:055,87978,470,59118,812,12002,297,856
11Jun 17, 2023 22:055,90094,652,65218,879,53502,179,072
12Jun 17, 2023 22:055,919110,854,92018,941,94202,179,072