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 22, 2025 18:23vahookvahookScore: 4,229Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2025 18:234,18931,010,60613,404,00002,498,560
2Apr 22, 2025 18:234,19031,091,02813,409,00002,502,656
3Apr 22, 2025 18:234,20826,706,11613,466,00002,531,328
4Apr 22, 2025 18:234,22534,118,76613,521,00002,273,280
5Apr 22, 2025 18:234,22926,942,17013,532,00002,273,280
6Apr 22, 2025 18:234,24526,978,78513,585,00002,490,368
7Apr 22, 2025 18:234,24730,147,41413,590,00002,486,272
8Apr 22, 2025 18:234,25126,740,57713,604,00002,486,272
9Apr 22, 2025 18:234,25632,355,62513,619,00002,273,280