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 19, 2024 09:05AnSaAnSaScore: 5,581Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2024 09:055,51237,219,53416,601,0001,037,0002,469,888
2Jan 19, 2024 09:055,52246,629,59116,632,0001,039,0002,465,792
3Jan 19, 2024 09:055,52936,901,02117,692,00002,465,792
4Jan 19, 2024 09:055,53442,540,49916,669,0001,041,0002,371,584
5Jan 19, 2024 09:055,57950,499,94416,863,000991,0002,371,584
6Jan 19, 2024 09:055,58157,174,06615,876,0001,984,0002,551,808
7Jan 19, 2024 09:055,58144,655,62516,868,000992,0002,379,776
8Jan 19, 2024 09:055,58353,873,72916,875,000992,0002,473,984
9Jan 19, 2024 09:055,58549,313,18917,871,00002,379,776
10Jan 19, 2024 09:055,74387,927,87618,378,79602,297,856
11Jan 19, 2024 09:055,78077,381,39918,495,81102,297,856
12Jan 19, 2024 09:055,80180,591,28218,563,20802,293,760