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 listDec 22, 2021 04:02Yuriy LyfenkoYuriy LyfenkoScore: 6,185Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2021 04:025,683578,664,63318,186,57602,301,952
2Dec 22, 2021 04:025,714574,051,09018,285,50202,289,664
3Dec 22, 2021 04:025,731583,545,18818,340,28702,207,744
4Dec 22, 2021 04:026,064548,139,93115,321,0004,085,000192,512
5Dec 22, 2021 04:026,126543,527,03316,509,0003,095,0002,289,664
6Dec 22, 2021 04:026,132549,021,33616,524,0003,098,0002,441,216
7Dec 22, 2021 04:026,185549,531,10315,835,0003,958,000192,512
8Dec 22, 2021 04:026,212546,052,92614,908,0004,969,0002,289,664
9Dec 22, 2021 04:026,261545,633,44117,030,0003,005,0002,289,664
10Dec 22, 2021 04:026,372548,885,12517,333,0003,058,0002,531,328
11Dec 22, 2021 04:026,450545,760,35117,544,0003,096,0002,551,808
12Dec 22, 2021 04:026,515547,552,11515,884,0004,963,0002,289,664