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 12:13kytanskytansScore: 5,384Success
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 12:135,32544,007,54016,038,0001,002,0002,531,328
2Jul 14, 2024 12:135,33344,500,52515,057,0002,007,0002,498,560
3Jul 14, 2024 12:135,34532,374,31216,099,0001,006,0002,494,464
4Jul 14, 2024 12:135,35038,596,13716,113,0001,007,0002,527,232
5Jul 14, 2024 12:135,35037,632,94416,114,0001,007,0002,486,272
6Jul 14, 2024 12:135,37542,566,52716,189,0001,011,0002,269,184
7Jul 14, 2024 12:135,38431,713,42816,216,0001,013,0002,498,560
8Jul 14, 2024 12:135,38444,110,79017,229,00002,531,328
9Jul 14, 2024 12:135,38640,848,46317,235,00002,506,752
10Jul 14, 2024 12:135,66586,378,02918,129,52902,244,608
11Jul 14, 2024 12:135,69576,910,32718,224,95402,240,512
12Jul 14, 2024 12:135,69992,122,76318,237,79302,248,704