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 listJan 28, 2025 16:38Oleg KovalovOleg KovalovScore: 5,711Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 28, 2025 16:575,67740,851,80416,147,0002,018,0002,367,488
2Jan 28, 2025 16:545,68239,585,96215,151,0003,030,0002,342,912
3Jan 28, 2025 16:575,68444,746,51015,157,0003,031,0002,367,488
4Jan 28, 2025 17:455,68637,535,71716,175,0002,021,0002,367,488
5Jan 28, 2025 16:545,68844,592,39615,167,0003,033,0002,359,296
6Jan 28, 2025 16:575,68842,575,59616,181,0002,022,0002,367,488
7Jan 28, 2025 17:455,71142,164,98416,245,0002,030,0002,396,160
8Jan 28, 2025 16:545,71339,753,34116,250,0002,031,0002,400,256
9Jan 28, 2025 17:455,72344,699,47616,279,0002,034,0002,400,256
10Jan 28, 2025 16:385,91534,519,73516,937,0001,992,0002,400,256
11Jan 28, 2025 16:385,93252,743,97616,984,0001,998,0002,359,296
12Jan 28, 2025 16:385,95549,201,48717,050,0002,005,0002,416,640