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 27, 2021 17:07Yuriy LyfenkoYuriy LyfenkoScore: 5,063Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 17:075,02347,600,32114,065,0002,009,0002,269,184
2May 27, 2021 17:075,02642,230,38615,078,0001,005,0002,265,088
3May 27, 2021 17:075,02833,584,52915,085,0001,005,0002,265,088
4May 27, 2021 17:075,03441,285,33014,097,0002,013,0002,265,088
5May 27, 2021 17:075,03944,446,09815,117,0001,007,0002,387,968
6May 27, 2021 17:075,05742,032,97514,160,0002,022,0002,265,088
7May 27, 2021 17:075,06341,644,31814,175,0002,025,0002,527,232
8May 27, 2021 17:075,07336,345,53814,203,0002,029,0002,400,256
9May 27, 2021 17:075,07836,847,76815,233,0001,015,0002,265,088
10May 27, 2021 17:075,21249,475,89216,678,54302,277,376
11May 27, 2021 17:075,25880,387,17216,824,75402,273,280
12May 27, 2021 17:075,27670,204,09516,882,09402,273,280