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 14, 2024 11:12kytanskytansScore: 5,204Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 14, 2024 11:125,14837,454,84416,475,00002,490,368
2Jul 14, 2024 11:125,16633,892,33216,530,00002,277,376
3Jul 14, 2024 11:125,17037,798,53716,544,00002,281,472
4Jul 14, 2024 11:125,17339,581,04315,520,0001,034,0002,494,464
5Jul 14, 2024 11:125,18139,224,27016,578,00002,277,376
6Jul 14, 2024 11:125,18943,382,68015,569,0001,037,0002,277,376
7Jul 14, 2024 11:125,20440,303,76016,653,00002,277,376
8Jul 14, 2024 11:125,21045,007,69215,630,0001,042,0002,498,560
9Jul 14, 2024 11:125,22135,224,65915,664,0001,044,0002,277,376
10Jul 14, 2024 11:125,43257,816,21717,381,90102,240,512
11Jul 14, 2024 11:125,44380,082,38117,416,96302,367,488
12Jul 14, 2024 11:125,46091,176,13917,472,95602,236,416