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 22, 2022 12:59Eugene ZhydzetskiEugene ZhydzetskiScore: 5,857Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 22, 2022 12:595,84049,445,15118,689,00002,535,424
2Aug 22, 2022 12:595,84143,414,92818,690,00002,404,352
3Aug 22, 2022 12:595,84147,594,72518,690,00002,334,720
4Aug 22, 2022 12:595,84437,968,63218,702,00002,535,424
5Aug 22, 2022 12:595,84645,173,67817,669,0001,039,0002,334,720
6Aug 22, 2022 12:595,84845,601,58317,675,0001,039,0002,535,424
7Aug 22, 2022 12:595,85744,732,17517,700,0001,041,0002,334,720
8Aug 22, 2022 12:595,90243,944,45917,892,000994,0002,408,448
9Aug 22, 2022 12:595,90846,895,57117,912,000995,0002,334,720
10Aug 22, 2022 12:595,94086,257,17419,006,76202,252,800
11Aug 22, 2022 12:595,95585,637,84419,054,84202,244,608
12Aug 22, 2022 12:596,12982,828,80219,612,00302,244,608