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 listSep 7, 2022 02:16Yuriy LyfenkoYuriy LyfenkoScore: 4,451Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2022 02:164,402539,297,74212,074,0002,012,0002,260,992
2Sep 7, 2022 02:164,418538,054,18312,118,0002,019,0002,260,992
3Sep 7, 2022 02:164,437536,934,88414,198,00002,523,136
4Sep 7, 2022 02:164,439535,471,44613,190,0001,014,0002,523,136
5Sep 7, 2022 02:164,444539,612,56813,205,0001,015,0002,523,136
6Sep 7, 2022 02:164,449541,424,31912,203,0002,033,0002,519,040
7Sep 7, 2022 02:164,451535,715,15013,225,0001,017,0002,519,040
8Sep 7, 2022 02:164,454539,355,29813,234,0001,018,0002,265,088
9Sep 7, 2022 02:164,454536,423,38713,236,0001,018,0002,400,256
10Sep 7, 2022 02:164,609573,503,60914,749,71702,277,376
11Sep 7, 2022 02:164,621592,213,16414,787,43602,240,512
12Sep 7, 2022 02:164,624588,473,62214,796,20902,273,280