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 16, 2024 10:07Dmitrii KravchenkoDmitrii KravchenkoScore: 5,599Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 16, 2024 10:075,58133,845,30915,876,0001,984,0002,281,472
2Sep 16, 2024 10:075,58449,709,64317,868,00002,281,472
3Sep 16, 2024 10:075,58435,430,31115,884,0001,985,0002,281,472
4Sep 16, 2024 10:075,58451,344,89816,877,000992,0002,277,376
5Sep 16, 2024 10:075,59942,230,57015,926,0001,990,0002,281,472
6Sep 16, 2024 10:075,60243,685,22814,939,0002,987,0002,281,472
7Sep 16, 2024 10:075,60545,238,02315,943,0001,992,0002,281,472
8Sep 16, 2024 10:075,61542,178,27215,971,0001,996,0002,281,472
9Sep 16, 2024 10:075,61650,732,98615,974,0001,996,0002,363,392