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 11, 2024 01:02Yuriy LyfenkoYuriy LyfenkoScore: 4,389Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 11, 2024 01:024,356540,647,67411,947,0001,991,0002,535,424
2Aug 11, 2024 01:024,360535,722,44811,958,0001,993,0002,273,280
3Aug 11, 2024 01:024,361534,435,41711,961,0001,993,0002,535,424
4Aug 11, 2024 01:024,362539,900,46611,964,0001,994,0002,273,280
5Aug 11, 2024 01:024,373538,012,04211,995,0001,999,0002,449,408
6Aug 11, 2024 01:024,384533,255,12613,026,0001,002,0002,535,424
7Aug 11, 2024 01:024,389543,319,03412,039,0002,006,0002,535,424
8Aug 11, 2024 01:024,390537,876,35712,041,0002,006,0002,273,280
9Aug 11, 2024 01:024,402536,064,18012,074,0002,012,0002,535,424
10Aug 11, 2024 01:024,602575,171,77714,725,71902,191,360
11Aug 11, 2024 01:024,605584,613,31214,734,49902,252,800
12Aug 11, 2024 01:024,608576,634,11814,747,02302,326,528