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 26, 2024 20:43Yuriy LyfenkoYuriy LyfenkoScore: 4,406Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 26, 2024 20:434,388536,107,89712,036,0002,006,0002,445,312
2Jul 26, 2024 20:434,396535,257,67212,058,0002,009,0002,453,504
3Jul 26, 2024 20:434,398536,957,75212,063,0002,010,0002,535,424
4Jul 26, 2024 20:434,400540,766,41112,068,0002,011,0002,273,280
5Jul 26, 2024 20:434,404539,206,85312,080,0002,013,0002,453,504
6Jul 26, 2024 20:434,404539,896,34812,080,0002,013,0002,273,280
7Jul 26, 2024 20:434,406535,904,15812,085,0002,014,0002,535,424
8Jul 26, 2024 20:434,419537,838,18112,121,0002,020,0002,273,280
9Jul 26, 2024 20:434,419540,354,08012,122,0002,020,0002,273,280
10Jul 26, 2024 20:434,596565,209,10714,708,03702,187,264
11Jul 26, 2024 20:434,602578,705,16414,726,58202,195,456
12Jul 26, 2024 20:434,608588,725,09114,744,01602,252,800