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 30, 2024 03:23matsuoka-601matsuoka-601Score: 4,976Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 30, 2024 03:234,95931,929,80114,877,000991,0002,523,136
2Jan 30, 2024 03:234,96043,687,88513,889,0001,984,0002,285,568
3Jan 30, 2024 03:234,96031,758,24414,881,000992,0002,269,184
4Jan 30, 2024 03:234,96331,428,39213,896,0001,985,0002,392,064
5Jan 30, 2024 03:234,97342,919,05713,924,0001,989,0002,285,568
6Jan 30, 2024 03:234,97436,448,07313,928,0001,989,0002,285,568
7Jan 30, 2024 03:234,97640,561,16513,932,0001,990,0002,285,568
8Jan 30, 2024 03:234,99637,847,95313,988,0001,998,0002,285,568
9Jan 30, 2024 03:234,99833,326,67214,996,000999,0002,277,376
10Jan 30, 2024 03:235,15477,533,45816,494,28502,297,856
11Jan 30, 2024 03:235,18279,176,86816,583,04202,301,952
12Jan 30, 2024 03:235,19891,235,79316,633,32702,301,952