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,496Success
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,670573,491,74518,144,68902,256,896
2Dec 22, 2021 04:025,697576,011,57018,231,09802,252,800
3Dec 22, 2021 04:025,747579,993,47118,389,59202,256,896
4Dec 22, 2021 04:026,353543,225,24617,282,0003,049,000241,664
5Dec 22, 2021 04:026,396543,244,01715,351,0005,117,000413,696
6Dec 22, 2021 04:026,444546,993,04915,465,0005,155,0002,334,720
7Dec 22, 2021 04:026,496552,961,17216,629,0004,157,0002,334,720
8Dec 22, 2021 04:026,503547,841,41617,689,0003,121,000241,664
9Dec 22, 2021 04:026,607547,455,99916,109,0005,034,0002,334,720
10Dec 22, 2021 04:026,625552,309,24816,153,0005,047,0002,334,720
11Dec 22, 2021 04:026,693545,560,52216,550,0004,867,0002,334,720
12Dec 22, 2021 04:026,798546,773,43716,809,0004,944,000237,568