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 listApr 24, 2026 06:07olliecrowolliecrowScore: 4,382Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2026 06:084,34029,061,46511,907,0001,984,0002,560,000
2Apr 24, 2026 06:084,36823,628,45812,981,000998,0002,486,272
3Apr 24, 2026 06:084,37227,790,80611,994,0001,999,0002,486,272
4Apr 24, 2026 06:084,37930,369,86512,013,0002,002,0002,490,368
5Apr 24, 2026 06:084,38228,233,77412,020,0002,003,0002,330,624
6Apr 24, 2026 06:084,38531,258,44412,029,0002,004,0002,482,176
7Apr 24, 2026 06:084,39028,502,74812,042,0002,007,0002,486,272
8Apr 24, 2026 06:084,39031,516,93112,043,0002,007,0002,486,272
9Apr 24, 2026 06:084,40832,833,53512,091,0002,015,0002,551,808