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 listJul 24, 2022 12:09Robert BurkeRobert BurkeScore: 4,461Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2022 12:094,44228,574,51812,183,0002,030,0002,445,312
2Jul 24, 2022 12:094,44432,995,87612,190,0002,031,0002,281,472
3Jul 24, 2022 12:094,44830,846,24612,202,0002,033,0002,441,216
4Jul 24, 2022 12:094,45133,431,43112,209,0002,034,0002,281,472
5Jul 24, 2022 12:094,45336,459,59712,215,0002,035,0002,449,408
6Jul 24, 2022 12:094,45527,127,28312,221,0002,036,0002,281,472
7Jul 24, 2022 12:094,46134,986,01113,255,0001,019,0002,453,504
8Jul 24, 2022 12:094,46435,808,05913,264,0001,020,0002,449,408
9Jul 24, 2022 12:094,47233,065,80912,402,0001,908,0002,281,472
10Jul 24, 2022 12:094,67575,499,16714,960,78602,211,840
11Jul 24, 2022 12:094,70293,856,65515,047,22502,203,648
12Jul 24, 2022 12:094,70386,151,36215,050,53602,211,840