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 29, 2021 17:57Yuriy LyfenkoYuriy LyfenkoScore: 5,438Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 17:575,39745,207,76615,239,0002,031,0002,293,760
2May 29, 2021 17:575,40038,496,23416,265,0001,016,0002,281,472
3May 29, 2021 17:575,40440,047,19415,258,0002,034,0002,281,472
4May 29, 2021 17:575,41241,395,33516,299,0001,018,0002,293,760
5May 29, 2021 17:575,43546,918,58516,368,0001,023,0002,289,664
6May 29, 2021 17:575,43749,020,50116,374,0001,023,0002,293,760
7May 29, 2021 17:575,43839,547,19816,380,0001,023,0002,293,760
8May 29, 2021 17:575,45833,646,87617,466,00002,285,568
9May 29, 2021 17:575,47038,819,86517,503,00002,277,376
10May 29, 2021 17:575,58984,486,37217,884,17302,187,264
11May 29, 2021 17:575,59784,485,27217,909,03802,174,976
12May 29, 2021 17:575,60373,029,42517,928,18502,179,072