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 listMay 3, 2026 15:14TudyMTudyMScore: 5,458Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 3, 2026 15:225,43732,817,08716,159,0001,242,0002,367,488
2May 3, 2026 15:225,44536,291,61416,160,0001,267,0002,363,392
3May 3, 2026 15:225,45434,398,09216,180,0001,273,0002,367,488
4May 3, 2026 15:225,45835,690,72816,192,0001,275,0002,375,680
5May 3, 2026 15:225,45834,320,21016,218,0001,249,0002,375,680
6May 3, 2026 15:225,46534,028,31316,205,0001,286,0002,375,680
7May 3, 2026 15:225,47834,012,55216,256,0001,274,0002,379,776
8May 3, 2026 15:225,47936,232,78416,257,0001,278,0002,367,488
9May 3, 2026 15:225,49136,860,14516,265,0001,308,0002,363,392