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 27, 2025 02:43zielajzielajScore: 368,222Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2025 02:43367,2501,198,949,6211,174,202,000997,0002,486,272
2Apr 27, 2025 02:43367,7221,203,442,9391,175,714,000997,0002,490,368
3Apr 27, 2025 02:43368,0971,201,663,1191,176,912,000997,0002,486,272
4Apr 27, 2025 02:43368,2221,202,926,6571,178,310,00002,498,560
5Apr 27, 2025 02:43368,7641,207,360,5741,180,044,00002,527,232
6Apr 27, 2025 02:43368,9231,210,549,2221,180,552,00002,527,232