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 listJul 13, 2024 18:59kytanskytansScore: 5,589Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2024 18:595,53849,990,37716,678,0001,042,0002,273,280
2Jul 13, 2024 18:595,54348,074,20316,696,0001,043,0002,273,280
3Jul 13, 2024 18:595,58544,304,84816,879,000992,0002,277,376
4Jul 13, 2024 18:595,58644,871,60615,888,0001,986,0002,281,472
5Jul 13, 2024 18:595,58643,904,16115,889,0001,986,0002,293,760
6Jul 13, 2024 18:595,58941,881,90015,898,0001,987,0002,281,472
7Jul 13, 2024 18:595,58934,077,27415,899,0001,987,0002,277,376
8Jul 13, 2024 18:595,59043,323,28116,896,000993,0002,293,760
9Jul 13, 2024 18:595,59333,880,39915,908,0001,988,0002,285,568
10Jul 13, 2024 18:595,71972,684,28818,300,97202,179,072
11Jul 13, 2024 18:595,76079,795,97818,432,38902,179,072
12Jul 13, 2024 18:595,76090,540,29318,433,47302,260,992