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 24, 2025 18:45lukostlukostScore: 5,993Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2025 18:455,97744,724,90017,114,0002,013,0002,269,184
2Apr 24, 2025 18:455,97848,475,39417,115,0002,013,0002,359,296
3Apr 24, 2025 18:455,98049,276,70017,121,0002,014,0002,277,376
4Apr 24, 2025 18:455,98549,178,51617,137,0002,016,0002,277,376
5Apr 24, 2025 18:455,99347,791,66915,140,0004,037,0002,273,280
6Apr 24, 2025 18:456,00045,421,25717,179,0002,021,0002,277,376
7Apr 24, 2025 18:456,00144,808,32017,181,0002,021,0002,269,184
8Apr 24, 2025 18:456,00345,250,71016,178,0003,033,0002,277,376
9Apr 24, 2025 18:456,00744,627,72917,200,0002,023,0002,277,376