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 listJun 6, 2021 22:51Yuriy LyfenkoYuriy LyfenkoScore: 5,043Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 6, 2021 22:514,99689,728,94413,988,0001,998,0002,273,280
2Jun 6, 2021 22:514,99888,633,99313,996,0001,999,0002,281,472
3Jun 6, 2021 22:515,00386,423,99815,010,0001,000,0002,408,448
4Jun 6, 2021 22:515,00490,681,31514,013,0002,001,0002,404,352
5Jun 6, 2021 22:515,00786,778,64815,021,0001,001,0002,281,472
6Jun 6, 2021 22:515,01788,172,32715,050,0001,003,0002,281,472
7Jun 6, 2021 22:515,04387,993,42514,122,0002,017,0002,281,472
8Jun 6, 2021 22:515,05188,641,50514,142,0002,020,0002,273,280
9Jun 6, 2021 22:515,07289,224,08915,215,0001,014,0002,408,448
10Jun 6, 2021 22:515,152123,897,56016,486,80902,256,896
11Jun 6, 2021 22:515,168114,902,49016,536,56302,289,664
12Jun 6, 2021 22:515,184126,340,53416,590,16802,293,760