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 listMar 17, 2023 22:00Alexander MonakovAlexander MonakovScore: 5,076Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 17, 2023 22:005,04331,050,79714,122,0002,017,0002,478,080
2Mar 17, 2023 22:005,04936,892,01014,137,0002,019,0002,531,328
3Mar 17, 2023 22:005,06041,270,20914,169,0002,024,0002,531,328
4Mar 17, 2023 22:005,06630,334,66515,197,0001,013,0002,531,328
5Mar 17, 2023 22:005,06940,717,41415,208,0001,013,0002,269,184
6Mar 17, 2023 22:005,07536,969,12915,226,0001,015,0002,531,328
7Mar 17, 2023 22:005,07628,865,16814,213,0002,030,0002,269,184
8Mar 17, 2023 22:005,07839,373,91013,204,0003,047,0002,482,176
9Mar 17, 2023 22:005,08731,811,18214,244,0002,034,0002,482,176
10Mar 17, 2023 22:005,21282,438,76916,677,74802,240,512
11Mar 17, 2023 22:005,24775,868,53516,788,95202,244,608
12Mar 17, 2023 22:005,24886,444,29616,792,92402,240,512