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 listNov 1, 2021 14:33Ilya AniskovetsIlya AniskovetsScore: 5,635Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 1, 2021 14:335,60633,278,97616,943,000996,0002,404,352
2Nov 1, 2021 14:335,61634,687,35715,975,0001,996,0002,289,664
3Nov 1, 2021 14:335,61741,832,12215,978,0001,997,0002,289,664
4Nov 1, 2021 14:335,62146,179,87915,990,0001,998,0002,281,472
5Nov 1, 2021 14:335,62241,321,03015,991,0001,998,0002,273,280
6Nov 1, 2021 14:335,63039,216,13816,014,0002,001,0002,367,488
7Nov 1, 2021 14:335,63540,673,64116,029,0002,003,0002,277,376
8Nov 1, 2021 14:335,63845,102,99517,041,0001,002,0002,289,664
9Nov 1, 2021 14:335,64540,077,52816,057,0002,007,0002,269,184
10Nov 1, 2021 14:335,78874,517,98118,520,48302,174,976
11Nov 1, 2021 14:335,80976,697,78918,589,74802,301,952
12Nov 1, 2021 14:335,83789,147,35818,678,75702,301,952