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 31, 2024 04:46BenBenScore: 4,650Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 31, 2024 04:464,59341,195,71714,697,00002,379,776
2Jul 31, 2024 04:464,61135,858,85614,756,00002,379,776
3Jul 31, 2024 04:464,63332,746,01412,850,0001,977,0002,379,776
4Jul 31, 2024 04:464,64031,428,58712,869,0001,979,0002,383,872
5Jul 31, 2024 04:464,64439,091,10814,860,00002,265,088
6Jul 31, 2024 04:464,64930,680,24913,887,000991,0002,265,088
7Jul 31, 2024 04:464,65038,434,91014,880,00002,375,680
8Jul 31, 2024 04:464,65133,898,87212,898,0001,984,0002,379,776
9Jul 31, 2024 04:464,65242,620,25713,893,000992,0002,367,488
10Jul 31, 2024 04:464,91672,708,20315,731,83602,269,184
11Jul 31, 2024 04:464,93576,152,47515,792,59502,273,280
12Jul 31, 2024 04:465,05178,866,54316,163,76202,273,280