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 23, 2025 13:02Emanuele BolognesiEmanuele BolognesiScore: 7,655Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 23, 2025 13:027,63047,552,25223,399,0001,017,0002,355,200
2Apr 23, 2025 13:027,63344,442,44624,425,00002,371,584
3Apr 23, 2025 13:027,63648,125,56823,418,0001,018,0002,285,568
4Apr 23, 2025 13:027,64446,508,41223,441,0001,019,0002,482,176
5Apr 23, 2025 13:027,65549,201,13923,476,0001,020,0002,363,392
6Apr 23, 2025 13:027,65845,639,72024,507,00002,285,568
7Apr 23, 2025 13:027,68754,408,92724,597,00002,285,568
8Apr 23, 2025 13:027,68852,883,25524,600,00002,285,568
9Apr 23, 2025 13:027,69354,540,17423,593,0001,025,0002,285,568