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 listJul 25, 2024 15:42Yuriy LyfenkoYuriy LyfenkoScore: 4,450Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 25, 2024 15:424,403539,726,31913,082,0001,006,0002,396,160
2Jul 25, 2024 15:424,405542,980,09412,082,0002,013,0002,523,136
3Jul 25, 2024 15:424,416538,502,36712,112,0002,018,0002,265,088
4Jul 25, 2024 15:424,430543,835,18212,152,0002,025,0002,265,088
5Jul 25, 2024 15:424,431543,060,29012,154,0002,025,0002,265,088
6Jul 25, 2024 15:424,434536,468,36713,177,0001,013,0002,265,088
7Jul 25, 2024 15:424,450535,668,36212,205,0002,034,0002,265,088
8Jul 25, 2024 15:424,455541,227,81313,237,0001,018,0002,265,088
9Jul 25, 2024 15:424,468537,739,22213,275,0001,021,0002,523,136
10Jul 25, 2024 15:424,609577,060,93314,747,84602,285,568
11Jul 25, 2024 15:424,630573,190,13514,815,56302,289,664
12Jul 25, 2024 15:424,656583,288,22114,898,96502,281,472