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 29, 2025 19:42Adam FolwarcznyAdam FolwarcznyScore: 4,472Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 29, 2025 12:234,45640,681,94013,242,0001,018,0002,437,120
2Apr 29, 2025 19:424,46636,618,13813,270,0001,020,0002,437,120
3Apr 29, 2025 12:234,47128,564,98113,286,0001,022,0002,531,328
4Apr 29, 2025 19:424,47230,631,34213,289,0001,022,0002,449,408
5Apr 29, 2025 19:424,47841,101,64213,305,0001,023,0002,527,232
6Apr 29, 2025 12:234,48332,367,18013,321,0001,024,0002,531,328