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 25, 2025 20:25zielajzielajScore: 367,386Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 25, 2025 20:29366,1991,199,560,0021,170,840,000998,0002,490,368
2Apr 25, 2025 20:25366,4131,195,499,4571,171,525,000997,0002,490,368
3Apr 25, 2025 20:29367,3641,202,914,6971,175,564,00002,486,272
4Apr 25, 2025 20:25367,3861,198,771,6551,175,636,00002,527,232
5Apr 25, 2025 20:25367,4271,202,640,1341,175,767,00002,527,232
6Apr 25, 2025 20:29367,5551,201,440,4051,175,178,000997,0002,527,232