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, 2025 23:04vahookvahookScore: 4,180Success
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, 2025 23:044,12134,884,11212,174,0001,014,0002,273,280
2Apr 24, 2025 23:044,13728,657,02112,221,0001,018,0002,486,272
3Apr 24, 2025 23:044,16326,339,68213,322,00002,490,368
4Apr 24, 2025 23:044,17934,753,67913,372,00002,486,272
5Apr 24, 2025 23:044,18025,866,14513,377,00002,273,280
6Apr 24, 2025 23:044,19029,558,98613,408,00002,273,280
7Apr 24, 2025 23:044,19527,905,61913,424,00002,494,464
8Apr 24, 2025 23:044,19732,749,99013,429,00002,490,368
9Apr 24, 2025 23:044,20926,847,86513,469,00002,273,280