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 listDec 22, 2023 23:58Kenneth MaplesKenneth MaplesScore: 5,085Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2023 23:585,03147,075,43414,086,0002,012,0002,265,088
2Dec 22, 2023 23:585,03638,436,60515,109,0001,007,0002,265,088
3Dec 22, 2023 23:585,04436,146,83214,124,0002,017,0002,400,256
4Dec 22, 2023 23:585,05834,693,49715,174,0001,011,0002,265,088
5Dec 22, 2023 23:585,06135,660,40714,171,0002,024,0002,387,968
6Dec 22, 2023 23:585,07238,117,32115,217,0001,014,0002,396,160
7Dec 22, 2023 23:585,08535,381,38215,255,0001,017,0002,265,088
8Dec 22, 2023 23:585,08536,750,88316,273,00002,265,088
9Dec 22, 2023 23:585,10244,960,59915,305,0001,020,0002,387,968
10Dec 22, 2023 23:585,72382,002,08718,312,32702,277,376
11Dec 22, 2023 23:585,73768,849,19718,356,81902,273,280
12Dec 22, 2023 23:585,74280,109,90518,375,79202,273,280