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 30, 2024 17:32AnSaAnSaScore: 4,989Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 17:324,96141,223,94713,892,0001,984,0002,269,184
2Jun 30, 2024 17:324,96244,821,28714,885,000992,0002,498,560
3Jun 30, 2024 17:324,96828,615,75114,904,000993,0002,269,184
4Jun 30, 2024 17:324,96945,962,31814,908,000993,0002,269,184
5Jun 30, 2024 17:324,97742,648,40914,931,000995,0002,494,464
6Jun 30, 2024 17:324,97930,089,39413,941,0001,991,0002,494,464
7Jun 30, 2024 17:324,98935,586,91112,973,0002,993,0002,490,368
8Jun 30, 2024 17:324,99438,747,95914,984,000998,0002,531,328
9Jun 30, 2024 17:325,02139,056,88913,054,0003,012,0002,498,560
10Jun 30, 2024 17:325,17581,453,61816,560,20902,252,800
11Jun 30, 2024 17:325,198125,764,55816,632,28002,248,704
12Jun 30, 2024 17:325,22889,107,64016,730,19902,252,800