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 23:00Yuriy LyfenkoYuriy LyfenkoScore: 5,800Success
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 23:005,750175,294,02416,464,0001,937,0002,387,968
2May 16, 2021 23:005,7584,798,076,53618,424,00002,519,040
3May 16, 2021 23:005,7632,068,189,04617,417,0001,024,0002,265,088
4May 16, 2021 23:005,7811,747,888,33416,553,0001,947,0002,523,136
5May 16, 2021 23:005,7823,556,187,14916,556,0001,947,0002,260,992
6May 16, 2021 23:005,7874,029,969,40317,490,0001,028,0002,519,040
7May 16, 2021 23:005,8002,809,239,24417,528,0001,031,0002,523,136
8May 16, 2021 23:005,8204,699,440,43916,664,0001,960,0002,519,040
9May 16, 2021 23:005,8351,409,761,21918,671,00002,265,088
10May 16, 2021 23:006,2131,774,640,17919,881,35802,285,568
11May 16, 2021 23:006,2171,780,333,39019,895,17302,281,472
12May 16, 2021 23:006,2512,540,998,98420,002,88602,285,568