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 listMar 7, 2024 08:03Huy Duc LeHuy Duc LeScore: 4,653Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 7, 2024 08:034,64034,319,33812,868,0001,979,0002,265,088
2Mar 7, 2024 08:034,64340,907,23012,877,0001,981,0002,265,088
3Mar 7, 2024 08:034,64930,371,78912,894,0001,983,0002,387,968
4Mar 7, 2024 08:034,65148,410,65213,890,000992,0002,392,064
5Mar 7, 2024 08:034,65334,223,40712,903,0001,985,0002,387,968
6Mar 7, 2024 08:034,65343,098,96812,904,0001,985,0002,387,968
7Mar 7, 2024 08:034,65331,581,94512,905,0001,985,0002,478,080
8Mar 7, 2024 08:034,65534,400,27812,910,0001,986,0002,265,088
9Mar 7, 2024 08:034,66935,825,89312,949,0001,992,0002,387,968
10Mar 7, 2024 08:034,84287,809,28415,493,02702,289,664
11Mar 7, 2024 08:034,86694,141,56315,572,13802,285,568
12Mar 7, 2024 08:034,87271,799,04515,589,51502,289,664