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 listAug 4, 2026 15:01C21C21Score: 42,303Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2026 15:0141,060142,193,02525,373,000106,021,0002,113,536
2Aug 4, 2026 15:0141,318142,994,18125,320,000106,899,0002,113,536
3Aug 4, 2026 15:0141,396142,768,79325,347,000107,123,0002,113,536
4Aug 4, 2026 15:0142,166144,941,48326,051,000108,882,0002,113,536
5Aug 4, 2026 15:0142,303150,739,70326,073,000109,299,0002,113,536
6Aug 4, 2026 15:0142,739146,921,19426,041,000110,726,0002,113,536
7Aug 4, 2026 15:0142,785147,018,71626,193,000110,721,0002,113,536
8Aug 4, 2026 15:0142,836147,287,55926,232,000110,844,0002,113,536
9Aug 4, 2026 15:0142,854147,798,34626,101,000111,033,0002,113,536