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 25, 2025 17:07AnSaAnSaScore: 4,648Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 25, 2025 17:074,64134,745,92512,871,0001,980,0002,289,664
2Apr 25, 2025 17:074,64332,825,43313,867,000990,0002,289,664
3Apr 25, 2025 17:074,64432,064,45112,880,0001,981,0002,289,664
4Apr 25, 2025 17:074,64536,241,35312,883,0001,982,0002,277,376
5Apr 25, 2025 17:074,64840,670,91012,891,0001,983,0002,269,184
6Apr 25, 2025 17:074,64936,904,28113,885,000991,0002,273,280
7Apr 25, 2025 17:074,65035,619,83912,896,0001,984,0002,289,664
8Apr 25, 2025 17:074,65041,095,19313,889,000992,0002,273,280
9Apr 25, 2025 17:074,65630,301,08813,907,000993,0002,379,776