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, 2026 09:15Charles CabergsCharles CabergsScore: 5,298Success
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, 2026 09:155,27936,788,84914,908,0001,987,0002,404,352
2Apr 26, 2026 09:155,28333,975,12714,918,0001,989,0002,326,528
3Apr 26, 2026 09:155,28735,243,57614,931,0001,990,0002,379,776
4Apr 26, 2026 09:155,29032,726,17914,939,0001,991,0002,383,872
5Apr 26, 2026 09:155,29835,898,53015,959,000997,0002,379,776
6Apr 26, 2026 09:155,30038,447,45414,967,0001,995,0002,387,968
7Apr 26, 2026 09:155,30730,677,01115,984,000999,0002,482,176
8Apr 26, 2026 09:155,31933,301,73815,021,0002,002,0002,392,064
9Apr 26, 2026 09:155,32235,745,95416,031,0001,001,0002,379,776