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 listJun 1, 2025 16:09Ahsan SadeebAhsan SadeebScore: 2,972,957Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 1, 2025 16:092,967,9769,528,669,8909,465,539,00031,984,0002,289,664
2Jun 1, 2025 16:092,970,7799,534,668,1559,473,506,00032,987,0002,277,376
3Jun 1, 2025 16:092,972,7899,545,337,6759,483,938,00028,987,0002,510,848
4Jun 1, 2025 16:092,972,8089,539,790,9179,482,999,00029,987,0002,277,376
5Jun 1, 2025 16:092,972,9579,538,236,7389,478,475,00034,986,0002,285,568
6Jun 1, 2025 16:092,982,2029,572,929,5199,518,058,00024,989,0002,277,376
7Jun 1, 2025 16:093,008,4299,656,640,9089,594,987,00031,986,0002,289,664
8Jun 1, 2025 16:093,061,3939,823,589,1479,763,473,00032,984,0002,277,376
9Jun 1, 2025 16:093,065,0349,844,263,6399,793,116,00014,994,0002,277,376