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 27, 2024 20:11HuynhHuynhScore: 5,716Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2024 20:115,64940,738,89317,073,0001,004,0002,269,184
2Jul 27, 2024 20:115,66642,527,28416,117,0002,014,0002,531,328
3Jul 27, 2024 20:115,68039,412,75717,166,0001,009,0002,531,328
4Jul 27, 2024 20:115,68737,823,11717,188,0001,011,0002,433,024
5Jul 27, 2024 20:115,69433,241,96816,196,0002,024,0002,433,024
6Jul 27, 2024 20:115,70544,045,61316,227,0002,028,0002,265,088
7Jul 27, 2024 20:115,71641,808,15217,275,0001,016,0002,265,088
8Jul 27, 2024 20:115,72240,285,23518,311,00002,531,328
9Jul 27, 2024 20:115,72837,793,28017,311,0001,018,0002,437,120
10Jul 27, 2024 20:115,95691,293,63119,059,74602,183,168
11Jul 27, 2024 20:115,96182,304,36619,076,38502,187,264
12Jul 27, 2024 20:115,96664,139,94119,092,55102,187,264