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 6, 2025 15:58Chandrasekaran AkashChandrasekaran AkashScore: 4,358Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 6, 2025 15:584,34127,041,57412,898,000992,0002,506,752
2Apr 6, 2025 15:584,34527,197,62912,910,000993,0002,273,280
3Apr 6, 2025 15:584,34732,377,17213,911,00002,277,376
4Apr 6, 2025 15:584,35527,203,39212,941,000995,0002,506,752
5Apr 6, 2025 15:584,35832,040,31912,949,000996,0002,502,656
6Apr 6, 2025 15:584,35832,849,74312,951,000996,0002,506,752
7Apr 6, 2025 15:584,35932,315,18112,954,000996,0002,506,752
8Apr 6, 2025 15:584,36331,211,30612,964,000997,0002,277,376
9Apr 6, 2025 15:584,36839,581,28512,978,000998,0002,502,656