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 30, 2022 13:35Keichi TakahashiKeichi TakahashiScore: 5,328Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2022 13:355,30633,722,97315,981,000998,0002,265,088
2May 30, 2022 13:355,31035,766,81915,992,000999,0002,265,088
3May 30, 2022 13:355,31347,484,20815,000,0002,000,0002,265,088
4May 30, 2022 13:355,31941,891,19916,020,0001,001,0002,265,088
5May 30, 2022 13:355,32442,773,77515,032,0002,004,0002,256,896
6May 30, 2022 13:355,32742,618,11415,041,0002,005,0002,400,256
7May 30, 2022 13:355,32843,118,52516,047,0001,002,0002,269,184
8May 30, 2022 13:355,33932,809,01615,076,0002,010,0002,383,872
9May 30, 2022 13:355,34848,029,22716,109,0001,006,0002,392,064
10May 30, 2022 13:355,49757,829,14517,589,38502,273,280
11May 30, 2022 13:355,52471,907,70917,675,51102,273,280
12May 30, 2022 13:355,53281,055,17617,703,86302,289,664