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:03AnSaAnSaScore: 5,532Success
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:035,51434,019,32117,644,00002,379,776
2Jan 19, 2024 09:035,51747,726,91316,615,0001,038,0002,379,776
3Jan 19, 2024 09:035,52248,243,63916,632,0001,039,0002,371,584
4Jan 19, 2024 09:035,52841,434,35817,689,00002,469,888
5Jan 19, 2024 09:035,53147,237,58317,698,00002,469,888
6Jan 19, 2024 09:035,53137,013,59217,699,00002,469,888
7Jan 19, 2024 09:035,53244,766,17617,703,00002,371,584
8Jan 19, 2024 09:035,53451,809,50516,669,0001,041,0002,461,696
9Jan 19, 2024 09:035,57245,561,95415,849,0001,981,0002,543,616
10Jan 19, 2024 09:035,76893,429,54618,458,56502,174,976
11Jan 19, 2024 09:035,78886,812,43618,520,16102,293,760
12Jan 19, 2024 09:035,793100,486,22118,536,67902,297,856