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 16, 2021 12:23Yuriy LyfenkoYuriy LyfenkoScore: 5,443Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 12:235,41044,572,90815,276,0002,036,0002,527,232
2May 16, 2021 12:235,42351,768,36016,334,0001,020,0002,383,872
3May 16, 2021 12:235,42444,077,50515,315,0002,042,0002,392,064
4May 16, 2021 12:235,42835,184,78417,368,00002,523,136
5May 16, 2021 12:235,43748,689,15516,376,0001,023,0002,269,184
6May 16, 2021 12:235,44243,771,69217,415,00002,392,064
7May 16, 2021 12:235,44349,173,93617,416,00002,396,160
8May 16, 2021 12:235,44745,800,95715,379,0002,050,0002,269,184
9May 16, 2021 12:235,45346,068,72216,425,0001,026,0002,265,088
10May 16, 2021 12:235,64277,430,25218,055,91802,277,376
11May 16, 2021 12:235,67575,877,88418,159,43302,281,472
12May 16, 2021 12:235,69588,124,26518,222,71002,269,184