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 8, 2026 18:16IlyaIlyaScore: 4,340Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2026 18:164,30923,258,54012,773,0001,018,0002,113,536
2Jul 8, 2026 18:164,33023,302,46112,854,0001,005,0002,113,536
3Jul 8, 2026 18:164,33123,519,80512,784,0001,076,0002,113,536
4Jul 8, 2026 18:164,33223,342,00412,834,0001,030,0002,113,536
5Jul 8, 2026 18:164,34023,344,25012,862,0001,027,0002,113,536
6Jul 8, 2026 18:164,34223,357,44712,881,0001,015,0002,113,536
7Jul 8, 2026 18:164,37623,641,19212,898,0001,106,0002,113,536
8Jul 8, 2026 18:164,38523,534,17812,954,0001,080,0002,113,536
9Jul 8, 2026 18:164,38723,544,18812,957,0001,082,0002,113,536