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 17:01Pavel ZagrebinPavel ZagrebinScore: 5,306Success
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 17:015,27248,779,38014,886,0001,984,0002,527,232
2Oct 7, 2023 17:015,27247,360,71014,887,0001,984,0002,383,872
3Oct 7, 2023 17:015,27432,920,19314,891,0001,985,0002,265,088
4Oct 7, 2023 17:015,28437,092,84815,915,000994,0002,265,088
5Oct 7, 2023 17:015,29447,206,19615,944,000996,0002,265,088
6Oct 7, 2023 17:015,29938,148,61515,961,000997,0002,375,680
7Oct 7, 2023 17:015,30643,159,64215,981,000998,0002,383,872
8Oct 7, 2023 17:015,31345,234,37916,003,0001,000,0002,265,088
9Oct 7, 2023 17:015,32339,013,89115,031,0002,004,0002,383,872
10Oct 7, 2023 17:015,52976,272,92917,692,54602,260,992
11Oct 7, 2023 17:015,53076,948,49117,694,80002,277,376
12Oct 7, 2023 17:015,57272,986,94917,830,21402,277,376