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 4, 2026 23:11olliecrowolliecrowScore: 4,341Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 4, 2026 23:114,29629,041,06113,748,00002,482,176
2May 4, 2026 23:114,31027,224,36213,795,00002,490,368
3May 4, 2026 23:114,31730,071,17113,816,00002,478,080
4May 4, 2026 23:114,33031,341,22113,858,00002,486,272
5May 4, 2026 23:114,34127,989,95613,892,00002,486,272
6May 4, 2026 23:114,34426,314,15213,903,00002,486,272
7May 4, 2026 23:114,34532,579,40913,907,00002,486,272
8May 4, 2026 23:114,36129,206,06512,906,0001,052,0002,486,272
9May 4, 2026 23:114,37031,285,56012,928,0001,056,0002,490,368