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 listJun 30, 2024 13:54AnSaAnSaScore: 4,717Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 13:544,67228,081,86913,953,000996,0002,531,328
2Jun 30, 2024 13:544,68031,387,69313,977,000998,0002,269,184
3Jun 30, 2024 13:544,68530,214,38912,994,0001,999,0002,498,560
4Jun 30, 2024 13:544,69237,993,33314,014,0001,001,0002,269,184
5Jun 30, 2024 13:544,69334,127,57414,015,0001,001,0002,498,560
6Jun 30, 2024 13:544,71231,675,40714,072,0001,005,0002,490,368
7Jun 30, 2024 13:544,71733,199,58215,094,00002,531,328
8Jun 30, 2024 13:544,71829,547,94313,084,0002,013,0002,269,184
9Jun 30, 2024 13:544,73135,892,05814,130,0001,009,0002,494,464
10Jun 30, 2024 13:544,91184,951,41315,715,42302,244,608
11Jun 30, 2024 13:544,95590,292,53915,855,50002,256,896
12Jun 30, 2024 13:544,97678,570,01815,922,43902,248,704