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 listAug 10, 2023 07:39parsersmailparsersmailScore: 5,918Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 10, 2023 07:395,89737,255,65617,877,000993,0002,334,720
2Aug 10, 2023 07:395,90147,518,79116,895,0001,987,0002,334,720
3Aug 10, 2023 07:395,90345,395,62117,894,000994,0002,293,760
4Aug 10, 2023 07:395,90837,783,95318,905,00002,334,720
5Aug 10, 2023 07:395,91443,610,25215,937,0002,988,0002,334,720
6Aug 10, 2023 07:395,91748,534,24717,939,000996,0002,301,952
7Aug 10, 2023 07:395,91846,306,52117,943,000996,0002,334,720
8Aug 10, 2023 07:395,92588,357,24318,959,91902,256,896
9Aug 10, 2023 07:395,94546,556,34917,022,0002,002,0002,334,720
10Aug 10, 2023 07:395,95146,520,81818,040,0001,002,0002,334,720
11Aug 10, 2023 07:395,980100,140,13919,135,64102,260,992
12Aug 10, 2023 07:396,10291,665,59219,527,02802,273,280