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:21Robert BurkeRobert BurkeScore: 4,460Success
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:214,42430,018,48112,135,0002,022,0002,449,408
2Jul 27, 2022 14:214,42831,406,91212,145,0002,024,0002,281,472
3Jul 27, 2022 14:214,43533,077,67512,166,0002,027,0002,445,312
4Jul 27, 2022 14:214,43938,926,59312,176,0002,029,0002,281,472
5Jul 27, 2022 14:214,44131,545,77412,180,0002,030,0002,535,424
6Jul 27, 2022 14:214,44129,619,92712,182,0002,030,0002,449,408
7Jul 27, 2022 14:214,46027,883,21713,253,0001,019,0002,277,376
8Jul 27, 2022 14:214,46429,942,71913,265,0001,020,0002,281,472
9Jul 27, 2022 14:214,53229,897,34713,466,0001,035,0002,281,472
10Jul 27, 2022 14:214,70181,947,69515,043,73402,199,552
11Jul 27, 2022 14:214,70679,569,09115,058,21202,207,744
12Jul 27, 2022 14:214,72877,067,66815,130,27502,207,744