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 13, 2024 18:26kytanskytansScore: 5,712Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2024 18:265,68343,874,58616,166,0002,020,0002,269,184
2Jul 13, 2024 18:265,69446,418,68417,208,0001,012,0002,269,184
3Jul 13, 2024 18:265,70735,557,73717,248,0001,014,0002,269,184
4Jul 13, 2024 18:265,70839,717,02016,235,0002,029,0002,269,184
5Jul 13, 2024 18:265,70847,115,06016,236,0002,029,0002,269,184
6Jul 13, 2024 18:265,70940,407,00916,239,0002,029,0002,269,184
7Jul 13, 2024 18:265,71235,178,69018,277,00002,273,280
8Jul 13, 2024 18:265,71348,812,04917,268,0001,015,0002,269,184
9Jul 13, 2024 18:265,71440,766,74815,238,0003,047,0002,396,160
10Jul 13, 2024 18:266,02865,161,32319,288,98102,293,760
11Jul 13, 2024 18:266,06990,446,21219,420,63502,289,664
12Jul 13, 2024 18:266,07888,851,01019,450,31002,285,568