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 listOct 29, 2026 08:20C21C21Score: 4,739Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 29, 2026 08:214,69826,040,33214,001,0001,033,0002,113,536
2Oct 29, 2026 08:214,70325,968,01814,031,0001,020,0002,113,536
3Oct 29, 2026 08:214,72525,970,23414,096,0001,026,0002,113,536
4Oct 29, 2026 08:214,73226,096,66114,098,0001,045,0002,113,536
5Oct 29, 2026 08:214,73926,086,53014,051,0001,115,0002,113,536
6Oct 29, 2026 08:214,74326,113,49214,071,0001,107,0002,113,536
7Oct 29, 2026 08:214,75026,066,99414,106,0001,096,0002,113,536
8Oct 29, 2026 08:214,76326,230,11814,049,0001,193,0002,113,536
9Oct 29, 2026 08:214,78328,293,27914,187,0001,121,0002,113,536