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 listJul 4, 2026 14:29dmhockey2005-progdmhockey2005-progScore: 5,637Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2026 14:305,62327,395,52316,914,0001,082,0002,113,536
2Jul 4, 2026 14:305,62427,406,76716,913,0001,085,0002,113,536
3Jul 4, 2026 14:305,63327,384,87316,877,0001,151,0002,113,536
4Jul 4, 2026 14:305,63427,465,19516,850,0001,180,0002,113,536
5Jul 4, 2026 14:305,63727,621,85616,937,0001,102,0002,113,536
6Jul 4, 2026 14:305,64027,378,54416,899,0001,149,0002,113,536
7Jul 4, 2026 14:305,66827,524,69117,034,0001,106,0002,113,536
8Jul 4, 2026 14:305,67027,502,67816,989,0001,156,0002,113,536
9Jul 4, 2026 14:305,67327,586,39616,976,0001,180,0002,113,536