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 15, 2024 15:17kytanskytansScore: 4,396Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 15, 2024 15:174,36433,834,35412,968,000997,0002,277,376
2Jul 15, 2024 15:174,37543,306,35613,000,0001,000,0002,506,752
3Jul 15, 2024 15:174,37731,857,55513,006,0001,000,0002,277,376
4Jul 15, 2024 15:174,38541,416,27613,029,0001,002,0002,277,376
5Jul 15, 2024 15:174,39129,896,47813,047,0001,003,0002,277,376
6Jul 15, 2024 15:174,39530,039,27613,060,0001,004,0002,277,376
7Jul 15, 2024 15:174,39629,287,73313,064,0001,004,0002,510,848
8Jul 15, 2024 15:174,40240,893,46313,081,0001,006,0002,277,376
9Jul 15, 2024 15:174,40430,441,55213,087,0001,006,0002,273,280
10Jul 15, 2024 15:174,63459,015,89514,828,27002,244,608
11Jul 15, 2024 15:174,63588,568,16314,832,85802,248,704
12Jul 15, 2024 15:174,64761,275,75714,871,22102,252,800