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 listJun 15, 2024 19:27джулисджулисScore: 5,834Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 15, 2024 19:275,78440,928,30017,480,0001,028,0002,363,392
2Jun 15, 2024 19:275,78844,790,15917,492,0001,028,0002,293,760
3Jun 15, 2024 19:275,79336,755,79118,536,00002,375,680
4Jun 15, 2024 19:275,80141,352,39417,532,0001,031,0002,293,760
5Jun 15, 2024 19:275,81352,901,35718,603,00002,293,760
6Jun 15, 2024 19:275,83144,974,69017,624,0001,036,0002,359,296
7Jun 15, 2024 19:275,83447,269,60317,631,0001,037,0002,367,488
8Jun 15, 2024 19:275,83951,774,71218,686,00002,371,584
9Jun 15, 2024 19:275,89145,981,21816,867,0001,984,0002,293,760
10Jun 15, 2024 19:276,058100,016,82419,386,57202,375,680
11Jun 15, 2024 19:276,06975,203,12319,421,72202,236,416
12Jun 15, 2024 19:276,07594,300,13519,439,59202,232,320