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 14:43Jack FrigaardJack FrigaardScore: 5,530Success
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 14:435,48741,340,93516,527,0001,032,0002,285,568
2Jan 2, 2023 14:435,48841,182,98616,528,0001,033,0002,523,136
3Jan 2, 2023 14:435,48841,550,25816,529,0001,033,0002,285,568
4Jan 2, 2023 14:435,49036,404,35416,536,0001,033,0002,273,280
5Jan 2, 2023 14:435,49339,399,63916,543,0001,033,0002,285,568
6Jan 2, 2023 14:435,50337,808,52516,575,0001,035,0002,285,568
7Jan 2, 2023 14:435,53040,695,31716,656,0001,041,0002,285,568
8Jan 2, 2023 14:435,53451,796,10416,667,0001,041,0002,285,568
9Jan 2, 2023 14:435,57347,047,26415,852,0001,981,0002,281,472
10Jan 2, 2023 14:435,71979,079,44718,301,31802,301,952
11Jan 2, 2023 14:435,73585,486,79418,352,67402,289,664
12Jan 2, 2023 14:435,76291,441,92118,438,92702,285,568