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 listMar 15, 2023 19:18Alexander MonakovAlexander MonakovScore: 5,275Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 15, 2023 19:185,26333,952,55114,860,0001,981,0002,281,472
2Mar 15, 2023 19:185,26449,028,06314,863,0001,981,0002,281,472
3Mar 15, 2023 19:185,27043,777,77215,872,000992,0002,281,472
4Mar 15, 2023 19:185,27249,442,69815,877,000992,0002,281,472
5Mar 15, 2023 19:185,27435,668,40314,891,0001,985,0002,404,352
6Mar 15, 2023 19:185,27532,818,35315,887,000992,0002,281,472
7Mar 15, 2023 19:185,27547,996,32615,887,000992,0002,281,472
8Mar 15, 2023 19:185,28641,436,49914,925,0001,990,0002,404,352
9Mar 15, 2023 19:185,30842,913,38814,987,0001,998,0002,408,448
10Mar 15, 2023 19:185,43081,417,32517,377,21502,293,760
11Mar 15, 2023 19:185,43582,992,09717,390,46302,277,376
12Mar 15, 2023 19:185,46194,804,26617,475,57102,301,952