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 listJun 11, 2021 11:19Dmitry DolgopolovDmitry DolgopolovScore: 5,061Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 11, 2021 11:185,01937,331,44914,054,0002,007,0002,531,328
2Jun 11, 2021 11:185,02035,442,54514,057,0002,008,0002,445,312
3Jun 11, 2021 11:185,02338,151,05414,063,0002,009,0002,531,328
4Jun 11, 2021 11:185,02432,199,70614,069,0002,009,0002,269,184
5Jun 11, 2021 11:195,02531,137,85514,070,0002,010,0002,531,328
6Jun 11, 2021 11:195,02533,156,28114,071,0002,010,0002,269,184
7Jun 11, 2021 11:195,02842,564,82814,077,0002,011,0002,453,504
8Jun 11, 2021 11:185,03546,242,45614,098,0002,014,0002,531,328
9Jun 11, 2021 11:185,03741,548,06314,104,0002,014,0002,449,408
10Jun 11, 2021 11:195,04131,255,11414,114,0002,016,0002,269,184
11Jun 11, 2021 11:195,04132,589,25814,114,0002,016,0002,531,328
12Jun 11, 2021 11:195,04440,487,24614,124,0002,017,0002,531,328
13Jun 11, 2021 11:195,06132,591,10714,172,0002,024,0002,449,408
14Jun 11, 2021 11:195,06130,273,07414,172,0002,024,0002,453,504
15Jun 11, 2021 11:185,06236,680,31914,174,0002,024,0002,531,328
16Jun 11, 2021 11:185,06437,208,49814,180,0002,025,0002,265,088
17Jun 11, 2021 11:195,06940,496,95814,193,0002,027,0002,531,328
18Jun 11, 2021 11:185,07331,489,62014,205,0002,029,0002,445,312
19Jun 11, 2021 11:195,20676,613,61116,659,24002,207,744
20Jun 11, 2021 11:185,21465,565,57316,686,09802,207,744
21Jun 11, 2021 11:195,22083,512,51216,704,61002,203,648
22Jun 11, 2021 11:185,23180,306,77616,740,77502,203,648
23Jun 11, 2021 11:185,24974,647,49516,795,80602,199,552
24Jun 11, 2021 11:195,25070,460,47816,799,44002,203,648