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 listMay 28, 2021 07:08Yuriy LyfenkoYuriy LyfenkoScore: 5,066Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 07:085,02534,999,12915,075,0001,005,0002,527,232
2May 28, 2021 07:085,03045,235,59714,085,0002,012,0002,265,088
3May 28, 2021 07:085,04333,035,47315,128,0001,008,0002,265,088
4May 28, 2021 07:085,04539,675,36815,135,0001,009,0002,265,088
5May 28, 2021 07:085,05134,298,94415,154,0001,010,0002,396,160
6May 28, 2021 07:085,05333,478,26714,147,0002,021,0002,265,088
7May 28, 2021 07:085,06647,126,35714,184,0002,026,0002,387,968
8May 28, 2021 07:085,09735,191,48615,290,0001,019,0002,265,088
9May 28, 2021 07:085,09841,337,88615,295,0001,019,0002,265,088
10May 28, 2021 07:085,28440,294,15416,907,52302,281,472
11May 28, 2021 07:085,31799,192,18117,013,57102,285,568
12May 28, 2021 07:085,32151,492,37017,028,35702,273,280