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 3, 2023 14:33Anılcan GülkayaAnılcan GülkayaScore: 5,657Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2023 14:335,58544,202,20716,880,000992,0002,379,776
2Jul 3, 2023 14:335,63144,420,31816,016,0002,002,0002,265,088
3Jul 3, 2023 14:335,63143,939,31616,018,0002,002,0002,392,064
4Jul 3, 2023 14:335,63841,592,38517,041,0001,002,0002,265,088
5Jul 3, 2023 14:335,64147,742,29216,046,0002,005,0002,265,088
6Jul 3, 2023 14:335,64847,130,64416,067,0002,008,0002,265,088
7Jul 3, 2023 14:335,65749,194,71017,096,0001,005,0002,265,088
8Jul 3, 2023 14:335,66345,145,54816,107,0002,013,0002,387,968
9Jul 3, 2023 14:335,66842,928,69816,123,0002,015,0002,265,088
10Jul 3, 2023 14:335,99276,356,08519,174,87002,293,760
11Jul 3, 2023 14:336,02187,705,17119,266,09402,277,376
12Jul 3, 2023 14:336,04581,989,19819,345,32802,281,472