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:32Chandrasekaran AkashChandrasekaran AkashScore: 5,333Success
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:305,29739,755,93914,956,0001,994,0002,445,312
2Apr 6, 2025 06:325,29738,024,84315,953,000997,0002,527,232
3Apr 6, 2025 06:305,32034,136,80116,022,0001,001,0002,527,232
4Apr 6, 2025 06:325,33338,419,72116,061,0001,003,0002,449,408
5Apr 6, 2025 06:325,33442,351,58016,064,0001,004,0002,527,232
6Apr 6, 2025 06:305,33733,490,95516,073,0001,004,0002,527,232