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 listMay 25, 2021 22:35Egor SergeevEgor SergeevScore: 5,482Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 22:355,45439,711,89016,427,0001,026,0002,289,664
2May 25, 2021 22:355,45539,216,65316,431,0001,026,0002,289,664
3May 25, 2021 22:355,45739,940,60617,463,00002,277,376
4May 25, 2021 22:355,46634,649,26817,491,00002,269,184
5May 25, 2021 22:355,47445,102,73416,486,0001,030,0002,289,664
6May 25, 2021 22:355,47442,374,19316,486,0001,030,0002,289,664
7May 25, 2021 22:355,48238,523,23117,543,00002,273,280
8May 25, 2021 22:355,48933,397,37117,566,00002,281,472
9May 25, 2021 22:355,53436,592,70416,669,0001,041,0002,289,664
10May 25, 2021 22:355,66148,193,58118,114,74902,293,760
11May 25, 2021 22:355,68384,777,65518,185,31702,170,880
12May 25, 2021 22:355,68651,947,62118,194,68002,170,880