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 listJul 28, 2024 07:30BenBenScore: 5,230Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 07:305,16631,205,52815,499,0001,033,0002,392,064
2Jul 28, 2024 07:305,18643,570,36916,596,00002,502,656
3Jul 28, 2024 07:305,20841,872,66115,624,0001,041,0002,265,088
4Jul 28, 2024 07:305,21147,369,18316,674,00002,387,968
5Jul 28, 2024 07:305,22541,935,54315,675,0001,045,0002,265,088
6Jul 28, 2024 07:305,22934,387,10216,734,00002,265,088
7Jul 28, 2024 07:305,23043,876,43214,767,0001,968,0002,527,232
8Jul 28, 2024 07:305,26544,354,70915,856,000991,0002,265,088
9Jul 28, 2024 07:305,27432,645,80715,885,000992,0002,265,088
10Jul 28, 2024 07:305,36964,371,49817,182,34602,281,472
11Jul 28, 2024 07:305,38585,029,87217,233,57102,289,664
12Jul 28, 2024 07:305,44488,430,70417,419,60802,289,664