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 17, 2024 05:13Yuriy LyfenkoYuriy LyfenkoScore: 4,476Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 17, 2024 05:134,43938,513,90212,177,0002,029,0002,527,232
2Aug 17, 2024 05:134,45231,698,68113,229,0001,017,0002,392,064
3Aug 17, 2024 05:134,46030,531,09113,254,0001,019,0002,396,160
4Aug 17, 2024 05:134,46435,514,38312,244,0002,040,0002,392,064
5Aug 17, 2024 05:134,46629,276,74413,272,0001,020,0002,527,232
6Aug 17, 2024 05:134,47534,689,25113,298,0001,022,0002,392,064
7Aug 17, 2024 05:134,47627,751,85913,301,0001,023,0002,527,232
8Aug 17, 2024 05:134,47744,857,32913,302,0001,023,0002,396,160
9Aug 17, 2024 05:134,47732,827,85812,281,0002,046,0002,396,160
10Aug 17, 2024 05:134,71176,726,61315,076,61502,277,376
11Aug 17, 2024 05:134,72572,320,40115,120,41602,269,184
12Aug 17, 2024 05:134,75975,926,09515,227,79902,273,280