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 listAug 6, 2024 22:33zielajzielajScore: 4,658Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 6, 2024 23:114,64334,871,18513,869,000990,0002,289,664
2Aug 6, 2024 22:334,64532,474,38213,874,000991,0002,289,664
3Aug 6, 2024 23:114,64631,583,99913,876,000991,0002,277,376
4Aug 6, 2024 23:114,64737,705,20712,889,0001,982,0002,289,664
5Aug 6, 2024 23:114,64731,739,56612,889,0001,982,0002,265,088
6Aug 6, 2024 23:114,64746,278,45713,880,000991,0002,289,664
7Aug 6, 2024 23:114,64735,893,46513,878,000991,0002,289,664
8Aug 6, 2024 22:334,64829,711,37112,891,0001,983,0002,531,328
9Aug 6, 2024 22:334,64832,566,76912,889,0001,983,0002,269,184
10Aug 6, 2024 22:334,65131,663,71912,898,0001,984,0002,285,568
11Aug 6, 2024 22:334,65336,001,29312,906,0001,985,0002,285,568
12Aug 6, 2024 23:114,65337,205,76912,904,0001,985,0002,289,664
13Aug 6, 2024 22:334,65838,019,91713,912,000993,0002,289,664
14Aug 6, 2024 22:334,65839,069,83813,914,000993,0002,289,664
15Aug 6, 2024 22:334,66035,113,58512,924,0001,988,0002,265,088
16Aug 6, 2024 23:114,66433,439,49313,860,0001,066,0002,269,184
17Aug 6, 2024 23:114,67033,068,42112,951,0001,992,0002,265,088
18Aug 6, 2024 22:334,70834,649,83313,056,0002,008,0002,289,664
19Aug 6, 2024 23:114,86470,121,69215,563,76202,187,264
20Aug 6, 2024 23:114,867116,712,63715,573,86402,256,896
21Aug 6, 2024 22:334,87477,950,26615,597,94002,314,240
22Aug 6, 2024 22:334,88297,616,53715,621,29502,260,992
23Aug 6, 2024 22:334,88494,558,35815,629,80002,183,168
24Aug 6, 2024 23:114,94088,456,17115,809,39102,183,168