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 24, 2025 18:48lukostlukostScore: 5,973Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2025 18:485,95145,191,15819,043,00002,277,376
2Apr 24, 2025 18:485,95850,191,21218,063,0001,003,0002,277,376
3Apr 24, 2025 18:485,96243,849,94817,071,0002,008,0002,277,376
4Apr 24, 2025 18:485,96851,033,59417,089,0002,010,0002,269,184
5Apr 24, 2025 18:485,97345,221,35116,095,0003,017,0002,277,376
6Apr 24, 2025 18:485,97749,182,53015,099,0004,026,0002,273,280
7Apr 24, 2025 18:485,98147,829,98118,131,0001,007,0002,269,184
8Apr 24, 2025 18:485,98449,807,95217,134,0002,015,0002,273,280
9Apr 24, 2025 18:485,99644,807,25718,179,0001,009,0002,277,376