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 15, 2024 14:50matsuoka-601matsuoka-601Score: 5,503Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2024 14:505,47835,032,80117,529,00002,289,664
2Jan 15, 2024 14:505,48140,121,97516,507,0001,031,0002,289,664
3Jan 15, 2024 14:505,48145,097,63517,538,00002,289,664
4Jan 15, 2024 14:505,49240,005,13716,541,0001,033,0002,269,184
5Jan 15, 2024 14:505,49634,419,37716,552,0001,034,0002,289,664
6Jan 15, 2024 14:505,50345,877,70116,573,0001,035,0002,519,040
7Jan 15, 2024 14:505,50348,706,57516,574,0001,035,0002,289,664
8Jan 15, 2024 14:505,57536,419,75117,841,00002,523,136
9Jan 15, 2024 14:505,58443,815,99516,876,000992,0002,277,376
10Jan 15, 2024 14:505,64695,280,68818,068,37102,301,952
11Jan 15, 2024 14:505,65177,102,83818,084,39002,183,168
12Jan 15, 2024 14:505,66696,614,95218,131,23502,301,952