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 6, 2025 14:26Chandrasekaran AkashChandrasekaran AkashError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 6, 2025 14:2700000Error: expected "976086 ", got "285910 "stderr
2Apr 6, 2025 14:264,34441,320,07512,908,000992,0002,277,376
3Apr 6, 2025 14:264,34533,309,08112,910,000993,0002,277,376
4Apr 6, 2025 14:264,35435,811,23112,937,000995,0002,277,376
5Apr 6, 2025 14:264,35432,669,11812,938,000995,0002,277,376
6Apr 6, 2025 14:264,35631,627,37712,943,000995,0002,494,464
7Apr 6, 2025 14:264,35832,441,14712,950,000996,0002,277,376
8Apr 6, 2025 14:264,37130,917,51012,987,000999,0002,498,560
9Apr 6, 2025 14:264,37332,212,43512,996,000999,0002,490,368
10Apr 6, 2025 14:264,38828,096,10213,039,0001,003,0002,277,376