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 listJun 12, 2024 02:54Yuriy LyfenkoYuriy LyfenkoScore: 4,597Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 02:534,433638,204,03613,171,0001,013,0002,523,136
2Jun 12, 2024 02:534,437642,388,88312,170,0002,028,0002,527,232
3Jun 12, 2024 02:534,438638,617,57612,174,0002,029,0002,260,992
4Jun 12, 2024 02:534,439638,440,03013,190,0001,014,0002,523,136
5Jun 12, 2024 02:534,443642,772,75512,188,0002,031,0002,523,136
6Jun 12, 2024 02:534,444640,106,32013,207,0001,015,0002,269,184
7Jun 12, 2024 02:534,446637,348,26014,227,00002,523,136
8Jun 12, 2024 02:534,450640,504,15714,241,00002,260,992
9Jun 12, 2024 02:534,450639,108,10114,239,00002,523,136
10Jun 12, 2024 02:544,464639,985,45013,266,0001,020,0002,260,992
11Jun 12, 2024 02:544,469637,186,89313,280,0001,021,0002,392,064
12Jun 12, 2024 02:544,483637,105,72113,321,0001,024,0002,523,136
13Jun 12, 2024 02:544,489640,662,96513,340,0001,026,0002,383,872
14Jun 12, 2024 02:544,494639,107,51114,381,00002,523,136
15Jun 12, 2024 02:544,503643,764,74613,381,0001,029,0002,523,136
16Jun 12, 2024 02:544,508638,215,39513,395,0001,030,0002,265,088
17Jun 12, 2024 02:544,519637,463,45214,461,00002,260,992
18Jun 12, 2024 02:544,529639,969,69114,494,00002,523,136
19Jun 12, 2024 02:534,597679,132,27614,709,76002,285,568
20Jun 12, 2024 02:534,614678,517,53114,764,67602,289,664
21Jun 12, 2024 02:544,632639,655,57913,764,0001,058,0002,260,992
22Jun 12, 2024 02:544,636640,971,05812,857,0001,978,0002,523,136
23Jun 12, 2024 02:534,641681,015,27814,850,19002,277,376
24Jun 12, 2024 02:544,644642,730,46913,872,000990,0002,265,088
25Jun 12, 2024 02:544,646640,934,75012,886,0001,982,0002,260,992
26Jun 12, 2024 02:544,648639,981,81513,881,000991,0002,392,064
27Jun 12, 2024 02:544,659651,681,13313,916,000994,0002,260,992
28Jun 12, 2024 02:544,660641,710,39513,918,000994,0002,523,136
29Jun 12, 2024 02:544,661639,991,77212,926,0001,988,0002,523,136
30Jun 12, 2024 02:544,669648,044,33813,945,000996,0002,387,968
31Jun 12, 2024 02:544,690673,599,48015,006,59602,273,280
32Jun 12, 2024 02:544,693672,269,26415,018,00402,285,568
33Jun 12, 2024 02:544,708688,716,71615,066,84902,338,816
34Jun 12, 2024 02:544,837680,301,84815,479,13402,240,512
35Jun 12, 2024 02:544,840681,752,72415,489,15502,281,472
36Jun 12, 2024 02:544,847673,952,57315,510,71802,273,280