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 28, 2025 21:22lukostlukostScore: 4,460Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 28, 2025 21:224,43934,641,88312,177,0002,029,0002,539,520
2Apr 28, 2025 21:224,45229,150,39612,210,0002,035,0002,531,328
3Apr 28, 2025 21:224,45532,984,77013,237,0001,018,0002,539,520
4Apr 28, 2025 21:224,45529,423,26913,237,0001,018,0002,457,600
5Apr 28, 2025 21:224,46029,236,16113,254,0001,019,0002,449,408
6Apr 28, 2025 21:224,46128,688,77713,257,0001,019,0002,277,376
7Apr 28, 2025 21:224,47336,419,89213,291,0001,022,0002,539,520
8Apr 28, 2025 21:224,47435,182,01313,294,0001,022,0002,277,376
9Apr 28, 2025 21:224,50831,089,94914,424,00002,437,120