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 listAug 1, 2024 18:16Nao YonashiroNao YonashiroScore: 5,533Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 1, 2024 18:165,47740,905,64316,496,0001,031,0002,289,664
2Aug 1, 2024 18:165,48139,560,90916,509,0001,031,0002,289,664
3Aug 1, 2024 18:165,48739,505,61416,525,0001,032,0002,273,280
4Aug 1, 2024 18:165,48940,198,92716,531,0001,033,0002,289,664
5Aug 1, 2024 18:165,49339,563,10416,543,0001,033,0002,265,088
6Aug 1, 2024 18:165,51335,062,13917,641,00002,289,664
7Aug 1, 2024 18:165,53345,941,59516,664,0001,041,0002,289,664
8Aug 1, 2024 18:165,58152,248,43716,868,000992,0002,269,184
9Aug 1, 2024 18:165,58444,863,18615,884,0001,985,0002,273,280
10Aug 1, 2024 18:165,71882,670,33418,296,89002,306,048
11Aug 1, 2024 18:165,75485,764,04118,412,89702,301,952
12Aug 1, 2024 18:165,77463,692,83218,477,07702,179,072