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 listJun 16, 2024 14:51AnSaAnSaScore: 5,591Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 16, 2024 14:515,53947,188,18815,640,0002,085,0002,277,376
2Jun 16, 2024 14:515,58044,049,74116,864,000992,0002,281,472
3Jun 16, 2024 14:515,58244,089,10916,871,000992,0002,269,184
4Jun 16, 2024 14:515,58645,538,46714,897,0002,979,0002,281,472
5Jun 16, 2024 14:515,58846,639,58214,900,0002,980,0002,273,280
6Jun 16, 2024 14:515,58851,977,27814,901,0002,980,0002,273,280
7Jun 16, 2024 14:515,59146,735,64714,910,0002,982,0002,281,472
8Jun 16, 2024 14:515,59342,502,19916,904,000994,0002,277,376
9Jun 16, 2024 14:515,59840,161,91815,922,0001,990,0002,281,472
10Jun 16, 2024 14:515,86675,615,84018,770,22402,306,048
11Jun 16, 2024 14:515,86789,709,31318,773,22802,297,856
12Jun 16, 2024 14:515,89387,332,31518,857,87902,183,168