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 25, 2021 01:02Alexander KimAlexander KimScore: 5,776Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 25, 2021 01:025,71437,063,93116,255,0002,031,0002,306,048
2Dec 25, 2021 01:025,72038,287,23017,287,0001,016,0002,301,952
3Dec 25, 2021 01:025,74141,659,70516,330,0002,041,0002,297,856
4Dec 25, 2021 01:025,76240,523,83816,391,0002,048,0002,334,720
5Dec 25, 2021 01:025,76841,118,27815,381,0003,076,0002,404,352
6Dec 25, 2021 01:025,77546,094,74816,428,0002,053,0002,334,720
7Dec 25, 2021 01:025,77642,619,17017,458,0001,026,0002,301,952
8Dec 25, 2021 01:025,79270,746,56218,533,55102,273,280
9Dec 25, 2021 01:025,80140,245,70416,500,0002,062,0002,334,720
10Dec 25, 2021 01:025,80137,260,72117,533,0001,031,0002,334,720
11Dec 25, 2021 01:025,84695,957,86018,706,64102,265,088
12Dec 25, 2021 01:025,87582,737,20418,798,76702,265,088