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 listMar 17, 2024 00:51KonstantinKonstantinScore: 5,501Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 17, 2024 00:515,45340,034,08317,450,00002,273,280
2Mar 17, 2024 00:515,45640,829,76816,432,0001,027,0002,281,472
3Mar 17, 2024 00:515,46348,024,27216,455,0001,028,0002,269,184
4Mar 17, 2024 00:515,47335,103,11317,514,00002,289,664
5Mar 17, 2024 00:515,48839,203,41916,529,0001,033,0002,289,664
6Mar 17, 2024 00:515,49344,255,74516,543,0001,033,0002,289,664
7Mar 17, 2024 00:515,50136,276,02116,567,0001,035,0002,265,088
8Mar 17, 2024 00:515,51435,083,10116,607,0001,037,0002,281,472
9Mar 17, 2024 00:515,52849,725,48716,651,0001,040,0002,289,664
10Mar 17, 2024 00:515,66072,272,30718,111,45302,179,072
11Mar 17, 2024 00:515,67793,228,22518,164,83502,179,072
12Mar 17, 2024 00:515,69771,757,10418,231,00302,179,072