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 listOct 1, 2022 14:55Sergey SlotinSergey SlotinScore: 5,715Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 1, 2022 14:555,47938,934,73117,533,00002,289,664
2Oct 1, 2022 14:555,49438,931,77016,546,0001,034,0002,269,184
3Oct 1, 2022 14:555,49538,220,25816,551,0001,034,0002,289,664
4Oct 1, 2022 14:555,50545,694,60616,580,0001,036,0002,289,664
5Oct 1, 2022 14:555,52643,704,89216,642,0001,040,0002,289,664
6Oct 1, 2022 14:555,54042,659,46016,686,0001,042,0002,265,088
7Oct 1, 2022 14:555,71584,640,86018,286,64802,306,048
8Oct 1, 2022 14:555,76785,650,44618,453,46602,301,952
9Oct 1, 2022 14:555,77076,531,79918,464,22202,297,856
10Oct 1, 2022 14:557,01147,732,15016,317,0006,119,0002,523,136
11Oct 1, 2022 14:557,15139,978,63816,913,0005,969,0002,428,928
12Oct 1, 2022 14:557,16945,693,25815,960,0006,982,0002,486,272