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 15, 2024 14:13kytanskytansScore: 5,475Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 15, 2024 14:135,45732,539,26817,463,00002,277,376
2Jul 15, 2024 14:135,45939,745,87417,468,00002,506,752
3Jul 15, 2024 14:135,46334,094,86517,481,00002,506,752
4Jul 15, 2024 14:135,46336,131,93017,483,00002,506,752
5Jul 15, 2024 14:135,46840,079,34317,499,00002,506,752
6Jul 15, 2024 14:135,47243,420,69317,510,00002,506,752
7Jul 15, 2024 14:135,47540,626,71617,521,00002,498,560
8Jul 15, 2024 14:135,47839,867,27616,498,0001,031,0002,277,376
9Jul 15, 2024 14:135,48534,019,98016,520,0001,032,0002,506,752
10Jul 15, 2024 14:135,59886,883,03417,912,58602,244,608
11Jul 15, 2024 14:135,61875,543,03817,976,63702,248,704
12Jul 15, 2024 14:135,63968,744,84418,044,00402,383,872