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 23:18Yuriy LyfenkoYuriy LyfenkoScore: 5,398Success
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 23:185,3337,952,004,27715,999,0001,066,0002,523,136
2May 17, 2021 23:185,3348,917,650,31614,935,0002,133,0002,260,992
3May 17, 2021 23:185,3488,855,829,05815,214,0001,901,0002,519,040
4May 17, 2021 23:185,3558,988,504,76916,128,0001,008,0002,523,136
5May 17, 2021 23:185,3826,570,232,64815,196,0002,026,0002,523,136
6May 17, 2021 23:185,3978,754,769,27117,271,00002,523,136
7May 17, 2021 23:185,3986,915,435,34516,365,000909,0002,523,136
8May 17, 2021 23:185,4256,809,543,37716,340,0001,021,0002,523,136
9May 17, 2021 23:185,4767,966,715,93116,601,000922,0002,523,136
10May 17, 2021 23:185,7678,356,551,99918,455,72702,277,376
11May 17, 2021 23:185,7747,100,141,38518,476,49602,277,376
12May 17, 2021 23:185,8096,518,106,00718,588,41602,273,280