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 18:54lukostlukostScore: 5,700Success
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 18:545,65050,210,87717,076,0001,004,0002,273,280
2Apr 24, 2025 18:545,66150,040,57217,108,0001,006,0002,277,376
3Apr 24, 2025 18:545,66737,142,24315,112,0003,022,0002,269,184
4Apr 24, 2025 18:545,67447,588,90517,150,0001,008,0002,269,184
5Apr 24, 2025 18:545,70044,580,78116,213,0002,026,0002,277,376
6Apr 24, 2025 18:545,71046,470,13416,241,0002,030,0002,277,376
7Apr 24, 2025 18:545,71648,749,30616,259,0002,032,0002,269,184
8Apr 24, 2025 18:545,73135,600,58816,302,0002,037,0002,269,184
9Apr 24, 2025 18:545,74446,457,45016,339,0002,042,0002,277,376