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 19:05lukostlukostScore: 5,499Success
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:595,46141,963,07316,448,0001,028,0002,277,376
2Apr 24, 2025 19:055,48341,676,74814,448,0003,096,0002,269,184
3Apr 24, 2025 18:595,48445,109,53915,485,0002,064,0002,277,376
4Apr 24, 2025 18:595,48734,772,18315,492,0002,065,0002,277,376
5Apr 24, 2025 18:595,49640,720,06316,553,0001,034,0002,277,376
6Apr 24, 2025 18:595,49642,577,04615,519,0002,069,0002,277,376
7Apr 24, 2025 19:055,49942,354,15415,527,0002,070,0002,277,376
8Apr 24, 2025 18:595,50035,766,01115,531,0002,070,0002,273,280
9Apr 24, 2025 19:055,52646,845,23516,642,0001,040,0002,269,184
10Apr 24, 2025 18:595,52847,572,61116,649,0001,040,0002,277,376
11Apr 24, 2025 18:595,53146,250,34416,657,0001,041,0002,277,376
12Apr 24, 2025 18:595,53149,439,99816,659,0001,041,0002,269,184