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 listJul 6, 2021 00:29Yuriy LyfenkoYuriy LyfenkoScore: 5,165Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2021 00:295,1111,039,274,65615,334,0001,022,0002,260,992
2Jul 6, 2021 00:295,1201,039,238,15115,360,0001,024,0002,260,992
3Jul 6, 2021 00:295,1291,036,235,76215,388,0001,025,0002,523,136
4Jul 6, 2021 00:295,1371,045,121,82215,411,0001,027,0002,260,992
5Jul 6, 2021 00:295,1391,042,639,72515,419,0001,027,0002,523,136
6Jul 6, 2021 00:295,1591,043,564,92815,477,0001,031,0002,387,968
7Jul 6, 2021 00:295,1651,050,919,16915,495,0001,033,0002,265,088
8Jul 6, 2021 00:295,1711,044,201,64916,548,00002,260,992
9Jul 6, 2021 00:295,1751,045,648,96515,526,0001,035,0002,523,136
10Jul 6, 2021 00:295,2701,073,039,35716,863,28402,240,512
11Jul 6, 2021 00:295,2861,076,874,45516,915,16602,277,376
12Jul 6, 2021 00:295,3181,073,000,12417,018,41102,277,376