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 5, 2021 03:09evgenikwtevgenikwtScore: 5,276Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2021 03:095,26333,396,60514,860,0001,981,0002,265,088
2Jun 5, 2021 03:095,26937,780,58615,869,000991,0002,383,872
3Jun 5, 2021 03:095,27142,177,80915,875,000992,0002,265,088
4Jun 5, 2021 03:095,27236,281,06416,869,00002,387,968
5Jun 5, 2021 03:095,27346,957,86215,881,000992,0002,392,064
6Jun 5, 2021 03:095,27338,215,71714,890,0001,985,0002,383,872
7Jun 5, 2021 03:095,27634,484,97714,897,0001,986,0002,265,088
8Jun 5, 2021 03:095,27742,806,37215,892,000993,0002,387,968
9Jun 5, 2021 03:095,28742,872,47815,861,0001,057,0002,265,088
10Jun 5, 2021 03:095,49766,825,88417,591,96702,281,472
11Jun 5, 2021 03:095,50268,296,22317,604,88302,277,376
12Jun 5, 2021 03:095,50674,673,94417,618,48802,269,184