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 22, 2024 18:09Matt StuchlikMatt StuchlikScore: 4,698Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2024 18:094,66437,128,36412,935,0001,990,0002,289,664
2Jul 22, 2024 18:094,66431,152,23412,936,0001,990,0002,269,184
3Jul 22, 2024 18:094,67032,303,25412,953,0001,992,0002,523,136
4Jul 22, 2024 18:094,67930,925,92513,976,000998,0002,281,472
5Jul 22, 2024 18:094,68234,665,56313,985,000998,0002,285,568
6Jul 22, 2024 18:094,68635,965,76612,996,0001,999,0002,289,664
7Jul 22, 2024 18:094,69836,734,97513,029,0002,004,0002,527,232
8Jul 22, 2024 18:094,72534,289,81913,105,0002,016,0002,269,184
9Jul 22, 2024 18:094,72635,137,45913,106,0002,016,0002,265,088
10Jul 22, 2024 18:094,93882,277,28115,803,03702,179,072
11Jul 22, 2024 18:094,93982,886,95715,804,26802,297,856
12Jul 22, 2024 18:094,98785,543,06915,956,85002,306,048