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:18Robert BurkeRobert BurkeScore: 4,464Success
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:184,42336,641,73812,131,0002,021,0002,449,408
2Jul 24, 2022 12:184,44130,750,77912,182,0002,030,0002,281,472
3Jul 24, 2022 12:184,44930,489,06012,204,0002,034,0002,281,472
4Jul 24, 2022 12:184,45029,632,35012,207,0002,034,0002,441,216
5Jul 24, 2022 12:184,45241,236,13012,212,0002,035,0002,441,216
6Jul 24, 2022 12:184,46346,252,54713,260,0001,020,0002,453,504
7Jul 24, 2022 12:184,46428,349,13913,264,0001,020,0002,445,312
8Jul 24, 2022 12:184,48529,891,65812,302,0002,050,0002,453,504
9Jul 24, 2022 12:184,49531,047,80013,356,0001,027,0002,531,328
10Jul 24, 2022 12:184,69389,861,15615,017,86502,203,648
11Jul 24, 2022 12:184,70570,934,75215,056,90802,207,744
12Jul 24, 2022 12:184,72572,304,50515,119,64002,207,744