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 13, 2024 17:13matsuoka-601matsuoka-601Score: 5,763Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 13, 2024 17:135,69941,341,95416,211,0002,026,0002,273,280
2Jan 13, 2024 17:135,71340,559,98316,252,0002,031,0002,285,568
3Jan 13, 2024 17:135,71639,788,55617,276,0001,016,0002,383,872
4Jan 13, 2024 17:135,71735,896,11216,263,0002,032,0002,285,568
5Jan 13, 2024 17:135,74040,586,29717,349,0001,020,0002,531,328
6Jan 13, 2024 17:135,74240,561,69716,334,0002,041,0002,285,568
7Jan 13, 2024 17:135,76340,848,30317,418,0001,024,0002,285,568
8Jan 13, 2024 17:135,80245,983,58417,535,0001,031,0002,527,232
9Jan 13, 2024 17:135,81137,031,66717,561,0001,033,0002,269,184
10Jan 13, 2024 17:135,90688,686,05818,898,69402,306,048
11Jan 13, 2024 17:135,92482,180,72018,955,64702,301,952
12Jan 13, 2024 17:135,95884,044,28319,066,80202,179,072