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 11:47Robert BurkeRobert BurkeScore: 4,451Success
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 11:474,42828,192,46312,145,0002,024,0002,453,504
2Jul 24, 2022 11:474,43329,603,85012,158,0002,026,0002,445,312
3Jul 24, 2022 11:474,44329,618,91412,186,0002,031,0002,281,472
4Jul 24, 2022 11:474,44430,383,24312,189,0002,031,0002,277,376
5Jul 24, 2022 11:474,44430,319,45413,206,0001,015,0002,453,504
6Jul 24, 2022 11:474,45128,435,51012,209,0002,034,0002,453,504
7Jul 24, 2022 11:474,45132,033,67212,209,0002,034,0002,441,216
8Jul 24, 2022 11:474,45929,499,51413,249,0001,019,0002,281,472
9Jul 24, 2022 11:474,46236,580,31113,259,0001,019,0002,277,376
10Jul 24, 2022 11:474,67576,272,17214,960,03502,203,648
11Jul 24, 2022 11:474,69678,431,67315,025,60002,207,744
12Jul 24, 2022 11:474,69893,958,91815,032,60702,207,744