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 17, 2021 19:31Yuriy LyfenkoYuriy LyfenkoScore: 5,370Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 19:315,3271,588,362,48916,045,0001,002,0002,392,064
2May 17, 2021 19:315,3301,062,020,07815,162,0001,895,0002,269,184
3May 17, 2021 19:315,3561,011,566,86316,130,0001,008,0002,265,088
4May 17, 2021 19:315,3621,603,714,27916,204,000953,0002,269,184
5May 17, 2021 19:315,3632,586,159,27716,208,000953,0002,265,088
6May 17, 2021 19:315,3672,133,813,81415,154,0002,020,0002,265,088
7May 17, 2021 19:315,370368,076,00015,275,0001,909,0002,392,064
8May 17, 2021 19:315,383968,064,26316,213,0001,013,0002,260,992
9May 17, 2021 19:315,3891,580,589,53115,330,0001,916,0002,265,088
10May 17, 2021 19:315,5291,433,274,74917,691,57602,277,376
11May 17, 2021 19:315,5432,672,055,47417,737,28202,281,472
12May 17, 2021 19:315,5692,326,479,99517,820,06802,281,472