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 20, 2024 16:53AnSaAnSaScore: 5,272Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 20, 2024 16:535,21631,992,72315,649,0001,043,0002,400,256
2Jan 20, 2024 16:545,21832,143,58815,656,0001,043,0002,281,472
3Jan 20, 2024 16:535,23044,663,94116,735,00002,281,472
4Jan 20, 2024 16:545,25533,477,50714,839,0001,978,0002,392,064
5Jan 20, 2024 16:545,25842,662,94914,848,0001,979,0002,281,472
6Jan 20, 2024 16:545,26744,460,31315,862,000991,0002,281,472
7Jan 20, 2024 16:545,26934,465,29515,869,000991,0002,404,352
8Jan 20, 2024 16:545,26952,834,06516,861,00002,281,472
9Jan 20, 2024 16:535,27035,494,29016,865,00002,396,160
10Jan 20, 2024 16:535,27041,022,48916,865,00002,404,352
11Jan 20, 2024 16:535,27144,841,89915,876,000992,0002,281,472
12Jan 20, 2024 16:535,27242,654,65714,887,0001,984,0002,281,472
13Jan 20, 2024 16:545,27241,734,14214,886,0001,984,0002,519,040
14Jan 20, 2024 16:545,27343,482,61715,883,000992,0002,383,872
15Jan 20, 2024 16:535,27345,042,05415,880,000992,0002,379,776
16Jan 20, 2024 16:535,27333,320,69115,883,000992,0002,281,472
17Jan 20, 2024 16:535,27642,251,81116,882,00002,281,472
18Jan 20, 2024 16:545,27630,265,45215,891,000993,0002,281,472
19Jan 20, 2024 16:535,45081,714,10517,439,59602,297,856
20Jan 20, 2024 16:545,45484,920,10717,452,69602,289,664
21Jan 20, 2024 16:545,45880,609,40917,465,80302,281,472
22Jan 20, 2024 16:535,46291,236,59517,479,59102,289,664
23Jan 20, 2024 16:545,47294,210,06217,511,53702,293,760
24Jan 20, 2024 16:535,47589,900,11417,519,97002,289,664