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 20:26IlyaIlyaScore: 4,231Success
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 20:274,20922,935,45012,465,0001,004,0002,113,536
2Jul 8, 2026 20:274,21322,969,29412,472,0001,011,0002,113,536
3Jul 8, 2026 20:274,21522,980,77612,480,0001,010,0002,113,536
4Jul 8, 2026 20:274,21522,951,07612,453,0001,035,0002,113,536
5Jul 8, 2026 20:274,23123,003,64912,533,0001,008,0002,113,536
6Jul 8, 2026 20:274,23323,046,22412,508,0001,038,0002,113,536
7Jul 8, 2026 20:274,23423,092,26212,476,0001,074,0002,113,536
8Jul 8, 2026 20:274,24223,126,31212,501,0001,076,0002,113,536
9Jul 8, 2026 20:274,25023,112,34912,519,0001,084,0002,113,536