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 listJan 20, 2024 16:19AnSaAnSaScore: 5,278Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 20, 2024 16:195,21830,224,21016,699,00002,392,064
2Jan 20, 2024 16:195,26847,214,59615,868,000991,0002,281,472
3Jan 20, 2024 16:195,27233,575,85114,887,0001,984,0002,392,064
4Jan 20, 2024 16:195,27432,807,67015,884,000992,0002,281,472
5Jan 20, 2024 16:195,27632,391,52514,898,0001,986,0002,392,064
6Jan 20, 2024 16:195,27747,019,11514,901,0001,986,0002,281,472
7Jan 20, 2024 16:195,27840,114,89914,903,0001,987,0002,281,472
8Jan 20, 2024 16:195,28143,088,36214,910,0001,988,0002,473,984
9Jan 20, 2024 16:195,29833,810,12714,959,0001,994,0002,281,472
10Jan 20, 2024 16:195,44175,000,64117,410,19802,256,896
11Jan 20, 2024 16:195,44167,061,02817,410,81402,285,568
12Jan 20, 2024 16:195,45277,807,94017,447,80102,285,568