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:27Robert BurkeRobert BurkeScore: 4,506Success
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:274,46137,140,76013,257,0001,019,0002,445,312
2Jul 24, 2022 12:274,46829,777,81013,275,0001,021,0002,457,600
3Jul 24, 2022 12:274,46834,781,66713,277,0001,021,0002,449,408
4Jul 24, 2022 12:274,47338,938,43213,291,0001,022,0002,457,600
5Jul 24, 2022 12:274,49330,274,31414,377,00002,449,408
6Jul 24, 2022 12:274,50030,540,93513,372,0001,028,0002,453,504
7Jul 24, 2022 12:274,50629,108,41813,389,0001,029,0002,281,472
8Jul 24, 2022 12:274,51137,834,15513,405,0001,031,0002,281,472
9Jul 24, 2022 12:274,51433,485,63014,445,00002,449,408
10Jul 24, 2022 12:274,71784,347,05215,095,75702,211,840
11Jul 24, 2022 12:274,72180,146,35815,105,77702,195,456
12Jul 24, 2022 12:274,73790,969,35515,158,40702,203,648