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 listSep 24, 2024 09:53MaxMaxScore: 5,362Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 24, 2024 09:535,32952,596,26215,047,0002,006,0002,289,664
2Sep 24, 2024 09:535,34740,840,51215,097,0002,012,0002,289,664
3Sep 24, 2024 09:535,35044,488,90915,105,0002,014,0002,289,664
4Sep 24, 2024 09:535,35745,107,49715,126,0002,016,0002,273,280
5Sep 24, 2024 09:535,36233,275,98615,139,0002,018,0002,269,184
6Sep 24, 2024 09:535,36744,157,72416,163,0001,010,0002,289,664
7Sep 24, 2024 09:535,37048,682,76815,164,0002,021,0002,273,280
8Sep 24, 2024 09:535,38035,045,70715,190,0002,025,0002,273,280
9Sep 24, 2024 09:535,40939,598,07715,272,0002,036,0002,289,664