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 08:41AnSaAnSaScore: 5,680Success
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 08:415,64850,459,04916,066,0002,008,0002,564,096
2Jan 19, 2024 08:415,65849,988,00217,100,0001,005,0002,371,584
3Jan 19, 2024 08:415,66447,211,00717,119,0001,007,0002,465,792
4Jan 19, 2024 08:415,66739,686,84217,126,0001,007,0002,387,968
5Jan 19, 2024 08:415,67847,017,62617,159,0001,009,0002,371,584
6Jan 19, 2024 08:415,67935,469,21016,154,0002,019,0002,371,584
7Jan 19, 2024 08:415,68035,675,86617,168,0001,009,0002,461,696
8Jan 19, 2024 08:415,69449,139,58415,185,0003,037,0002,465,792
9Jan 19, 2024 08:415,69649,425,21316,201,0002,025,0002,457,600
10Jan 19, 2024 08:415,85788,894,82318,741,58002,289,664
11Jan 19, 2024 08:415,86791,422,47318,775,07802,174,976
12Jan 19, 2024 08:415,87062,537,89618,782,86102,293,760