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 listJan 6, 2023 17:27Victor MuñozVictor MuñozScore: 5,601Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 6, 2023 17:275,57343,992,88815,854,0001,981,0002,269,184
2Jan 6, 2023 17:275,58246,677,88116,869,000992,0002,396,160
3Jan 6, 2023 17:275,58346,352,91316,875,000992,0002,387,968
4Jan 6, 2023 17:275,58749,596,58116,886,000993,0002,269,184
5Jan 6, 2023 17:275,58849,524,33616,889,000993,0002,392,064
6Jan 6, 2023 17:275,58844,022,90216,890,000993,0002,269,184
7Jan 6, 2023 17:275,60133,767,91115,932,0001,991,0002,379,776
8Jan 6, 2023 17:275,61744,831,60316,976,000998,0002,269,184
9Jan 6, 2023 17:275,62043,871,59915,987,0001,998,0002,269,184
10Jan 6, 2023 17:275,93590,214,49018,990,75002,285,568
11Jan 6, 2023 17:275,96392,280,73919,080,22902,277,376
12Jan 6, 2023 17:275,99497,757,03719,179,51302,277,376