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 24, 2021 05:20Yuriy LyfenkoYuriy LyfenkoScore: 5,123Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 05:205,09432,379,80615,284,0001,018,0002,387,968
2May 24, 2021 05:205,11034,632,53816,353,00002,383,872
3May 24, 2021 05:205,11836,270,13716,376,00002,392,064
4May 24, 2021 05:205,11939,547,16815,358,0001,023,0002,265,088
5May 24, 2021 05:205,12233,903,13415,366,0001,024,0002,527,232
6May 24, 2021 05:205,12337,562,09915,368,0001,024,0002,387,968
7May 24, 2021 05:205,12343,135,47715,371,0001,024,0002,265,088
8May 24, 2021 05:205,14337,979,62016,458,00002,392,064
9May 24, 2021 05:205,16740,880,61215,501,0001,033,0002,265,088
10May 24, 2021 05:205,32472,937,99317,037,69402,285,568
11May 24, 2021 05:205,37080,021,56917,184,63702,277,376
12May 24, 2021 05:205,39966,877,02717,277,38502,281,472