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 listSep 18, 2026 15:28Andrew EpsteinAndrew EpsteinScore: 331,176Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 18, 2026 15:29330,6951,068,634,7441,057,064,0001,162,0002,121,728stderr
2Sep 18, 2026 15:29331,0581,070,489,6221,058,385,0001,002,0002,121,728stderr
3Sep 18, 2026 15:29331,1081,070,711,8101,058,518,0001,030,0002,121,728stderr
4Sep 18, 2026 15:29331,1661,072,103,0681,058,733,0001,000,0002,121,728stderr
5Sep 18, 2026 15:29331,1761,070,241,4991,058,763,0001,002,0002,121,728stderr
6Sep 18, 2026 15:29331,1931,071,274,6861,058,818,0001,000,0002,121,728stderr
7Sep 18, 2026 15:29331,2111,070,595,4091,058,687,0001,189,0002,121,728stderr
8Sep 18, 2026 15:29331,5451,072,004,5521,059,754,0001,191,0002,121,728stderr
9Sep 18, 2026 15:29332,0621,073,116,9771,061,460,0001,140,0002,121,728stderr