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 listFeb 19, 2024 08:21Huy Duc LeHuy Duc LeScore: 5,640Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 19, 2024 08:175,58049,088,57915,872,0001,984,0002,310,144
2Feb 19, 2024 08:175,58335,461,50815,880,0001,985,0002,310,144
3Feb 19, 2024 08:175,58347,794,60315,882,0001,985,0002,392,064
4Feb 19, 2024 08:215,58749,749,84216,884,000993,0002,310,144
5Feb 19, 2024 08:175,58843,337,90315,895,0001,986,0002,310,144
6Feb 19, 2024 08:175,58835,291,27816,889,000993,0002,310,144
7Feb 19, 2024 08:175,59843,014,09815,925,0001,990,0002,400,256
8Feb 19, 2024 08:175,59845,188,02415,924,0001,990,0002,310,144
9Feb 19, 2024 08:215,61236,886,82815,962,0001,995,0002,310,144
10Feb 19, 2024 08:215,62548,429,64016,000,0002,000,0002,387,968
11Feb 19, 2024 08:215,63547,458,23116,030,0002,003,0002,392,064
12Feb 19, 2024 08:215,63733,435,55617,036,0001,002,0002,396,160
13Feb 19, 2024 08:175,64046,412,01916,044,0002,005,0002,314,240
14Feb 19, 2024 08:175,64850,834,48316,066,0002,008,0002,392,064
15Feb 19, 2024 08:215,65845,116,88816,093,0002,011,0002,482,176
16Feb 19, 2024 08:215,757101,652,81918,423,91702,281,472
17Feb 19, 2024 08:215,76835,717,10015,380,0003,076,0002,310,144
18Feb 19, 2024 08:175,76890,154,70818,458,29402,281,472
19Feb 19, 2024 08:175,77561,138,98718,479,46302,273,280
20Feb 19, 2024 08:215,77683,682,29718,483,17302,277,376
21Feb 19, 2024 08:175,77762,763,00918,487,57702,224,128
22Feb 19, 2024 08:215,80569,725,83818,575,61702,281,472
23Feb 19, 2024 08:215,83044,968,72815,546,0003,109,0002,392,064
24Feb 19, 2024 08:215,90544,480,48017,903,000994,0002,281,472