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 listOct 7, 2023 16:18Pavel ZagrebinPavel ZagrebinScore: 5,299Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 7, 2023 16:185,26535,816,48815,858,000991,0002,387,968
2Oct 7, 2023 16:185,27146,058,78914,884,0001,984,0002,387,968
3Oct 7, 2023 16:185,27944,948,79015,900,000993,0002,392,064
4Oct 7, 2023 16:185,28544,900,73415,917,000994,0002,265,088
5Oct 7, 2023 16:185,29033,842,04015,933,000995,0002,265,088
6Oct 7, 2023 16:185,29848,575,27115,958,000997,0002,265,088
7Oct 7, 2023 16:185,29948,239,45215,961,000997,0002,265,088
8Oct 7, 2023 16:185,30346,122,05014,974,0001,996,0002,383,872
9Oct 7, 2023 16:185,30935,875,13815,991,000999,0002,396,160
10Oct 7, 2023 16:185,49489,264,81617,579,53502,281,472
11Oct 7, 2023 16:185,55677,236,16417,780,18102,289,664
12Oct 7, 2023 16:185,57365,031,06317,833,94902,281,472