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 27, 2022 14:34Robert 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 27, 2022 14:344,44933,390,61512,203,0002,033,0002,449,408
2Jul 27, 2022 14:344,45535,433,21213,239,0001,018,0002,281,472
3Jul 27, 2022 14:344,45628,775,19812,223,0002,037,0002,449,408
4Jul 27, 2022 14:344,45934,171,41713,250,0001,019,0002,445,312
5Jul 27, 2022 14:344,46335,590,19513,262,0001,020,0002,453,504
6Jul 27, 2022 14:344,46429,094,74513,264,0001,020,0002,445,312
7Jul 27, 2022 14:344,46435,091,57913,266,0001,020,0002,281,472
8Jul 27, 2022 14:344,47339,095,26213,291,0001,022,0002,281,472
9Jul 27, 2022 14:344,47829,212,74413,306,0001,023,0002,535,424
10Jul 27, 2022 14:344,70680,570,36615,058,00702,256,896
11Jul 27, 2022 14:344,74292,312,54615,173,07502,195,456
12Jul 27, 2022 14:344,76490,133,08315,243,38402,199,552