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 23, 2024 16:19Gokberk YaltirakliGokberk YaltirakliScore: 5,745Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 23, 2024 16:195,67140,404,36016,130,0002,016,0002,289,664
2Jan 23, 2024 16:195,68944,392,73916,182,0002,022,0002,281,472
3Jan 23, 2024 16:195,69446,191,95216,197,0002,024,0002,289,664
4Jan 23, 2024 16:195,69549,160,64116,200,0002,025,0002,289,664
5Jan 23, 2024 16:195,71137,448,82216,245,0002,030,0002,289,664
6Jan 23, 2024 16:195,71146,053,88717,260,0001,015,0002,289,664
7Jan 23, 2024 16:195,74548,098,55417,364,0001,021,0002,289,664
8Jan 23, 2024 16:195,74641,030,54117,366,0001,021,0002,387,968
9Jan 23, 2024 16:195,75933,950,65817,405,0001,023,0002,289,664
10Jan 23, 2024 16:195,86859,956,19618,776,93602,256,896
11Jan 23, 2024 16:195,90781,332,95918,902,06902,297,856
12Jan 23, 2024 16:195,93787,104,49318,998,13702,293,760