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 6, 2025 06:29Chandrasekaran AkashChandrasekaran AkashScore: 5,314Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 6, 2025 06:295,28743,204,95915,923,000995,0002,527,232
2Apr 6, 2025 06:305,29734,509,05015,953,000997,0002,527,232
3Apr 6, 2025 06:305,30342,116,83513,976,0002,995,0002,445,312
4Apr 6, 2025 06:295,31432,858,56116,005,0001,000,0002,445,312
5Apr 6, 2025 06:305,31936,565,32916,020,0001,001,0002,445,312
6Apr 6, 2025 06:295,34346,305,34916,091,0001,005,0002,523,136