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 listMar 30, 2025 08:11wainCGPwainCGPScore: 5,299Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 30, 2025 08:115,26944,618,20615,871,000991,0002,424,832
2Mar 30, 2025 08:115,27243,800,49215,879,000992,0002,269,184
3Mar 30, 2025 08:115,27730,738,88215,893,000993,0002,433,024
4Mar 30, 2025 08:115,28536,261,94015,918,000994,0002,428,928
5Mar 30, 2025 08:115,29935,812,87315,961,000997,0002,531,328
6Mar 30, 2025 08:115,30039,518,95314,966,0001,995,0002,437,120
7Mar 30, 2025 08:115,31138,956,87114,997,0001,999,0002,269,184
8Mar 30, 2025 08:115,31240,668,89515,999,000999,0002,428,928
9Mar 30, 2025 08:115,33336,519,37715,057,0002,007,0002,531,328