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,589Success
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,57544,874,14216,850,000991,0002,371,584
2Jan 19, 2024 08:415,58342,637,22916,873,000992,0002,465,792
3Jan 19, 2024 08:415,58346,080,46515,881,0001,985,0002,371,584
4Jan 19, 2024 08:415,58349,082,40116,874,000992,0002,371,584
5Jan 19, 2024 08:415,58446,502,62617,870,00002,371,584
6Jan 19, 2024 08:415,58640,600,89216,883,000993,0002,371,584
7Jan 19, 2024 08:415,58946,420,77015,899,0001,987,0002,371,584
8Jan 19, 2024 08:415,59346,226,00115,910,0001,988,0002,371,584
9Jan 19, 2024 08:415,63732,993,84916,034,0002,004,0002,461,696
10Jan 19, 2024 08:415,77383,788,69818,472,63902,179,072
11Jan 19, 2024 08:415,78697,570,48818,516,68602,297,856
12Jan 19, 2024 08:415,80392,642,18018,568,53002,170,880