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 10:33AnSaAnSaScore: 5,025Success
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 10:334,97033,690,98313,917,0001,988,0002,273,280
2Jun 30, 2024 10:334,97140,668,38213,920,0001,988,0002,289,664
3Jun 30, 2024 10:334,98635,235,19214,957,000997,0002,289,664
4Jun 30, 2024 10:334,98739,717,84713,963,0001,994,0002,265,088
5Jun 30, 2024 10:334,99334,368,09214,980,000998,0002,265,088
6Jun 30, 2024 10:335,00640,582,37215,017,0001,001,0002,269,184
7Jun 30, 2024 10:335,02537,393,40414,071,0002,010,0002,269,184
8Jun 30, 2024 10:335,03441,925,37914,097,0002,013,0002,289,664
9Jun 30, 2024 10:335,03847,941,09915,116,0001,007,0002,289,664
10Jun 30, 2024 10:335,23871,979,65716,761,26402,281,472
11Jun 30, 2024 10:335,27561,070,85216,878,77302,297,856
12Jun 30, 2024 10:335,27595,589,65816,879,60802,293,760