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 listAug 21, 2021 17:12Yuriy LyfenkoYuriy LyfenkoScore: 5,687Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 21, 2021 17:125,615292,500,39416,912,0001,057,0002,338,816
2Aug 21, 2021 17:125,631290,867,24515,899,0002,119,0002,334,720
3Aug 21, 2021 17:125,647289,723,95715,944,0002,125,0002,334,720
4Aug 21, 2021 17:125,653287,119,72115,960,0002,128,0002,338,816
5Aug 21, 2021 17:125,654294,326,40615,078,0003,015,0002,334,720
6Aug 21, 2021 17:125,660291,352,06315,093,0003,018,0002,338,816
7Aug 21, 2021 17:125,687327,646,95618,198,09102,179,072
8Aug 21, 2021 17:125,697288,888,54016,206,0002,025,0002,338,816
9Aug 21, 2021 17:125,711293,971,54816,244,0002,030,0002,326,528
10Aug 21, 2021 17:125,719292,954,57217,224,0001,076,0002,338,816
11Aug 21, 2021 17:125,757325,416,04418,421,66802,256,896
12Aug 21, 2021 17:125,759324,946,83918,429,80302,252,800