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 listApr 26, 2025 21:41lukostlukostScore: 4,962Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 26, 2025 21:414,95640,120,23013,876,0001,982,0002,445,312
2Apr 26, 2025 21:414,95640,705,46914,868,000991,0002,539,520
3Apr 26, 2025 21:414,95836,653,17113,883,0001,983,0002,539,520
4Apr 26, 2025 21:414,96043,481,84913,889,0001,984,0002,539,520
5Apr 26, 2025 21:414,96032,974,41813,888,0001,984,0002,441,216
6Apr 26, 2025 21:414,96039,961,46614,880,000992,0002,539,520
7Apr 26, 2025 21:414,96232,520,17414,886,000992,0002,539,520
8Apr 26, 2025 21:414,96337,460,30914,891,000992,0002,539,520
9Apr 26, 2025 21:414,96634,245,49813,904,0001,986,0002,441,216
10Apr 26, 2025 21:414,97031,302,08013,917,0001,988,0002,445,312
11Apr 26, 2025 21:414,97338,132,49913,926,0001,989,0002,539,520
12Apr 26, 2025 21:414,97531,051,09413,930,0001,990,0002,539,520