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 6, 2021 01:33evgenikwtevgenikwtScore: 5,288Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 6, 2021 01:355,22343,038,44915,669,0001,044,0002,265,088
2Jun 6, 2021 01:335,23042,658,21615,690,0001,046,0002,269,184
3Jun 6, 2021 01:355,26847,294,95115,868,000991,0002,265,088
4Jun 6, 2021 01:355,26942,446,86115,871,000991,0002,265,088
5Jun 6, 2021 01:355,27033,024,27815,873,000992,0002,387,968
6Jun 6, 2021 01:335,27246,073,76014,887,0001,984,0002,265,088
7Jun 6, 2021 01:355,27343,259,57716,874,00002,387,968
8Jun 6, 2021 01:355,27536,731,97714,894,0001,985,0002,392,064
9Jun 6, 2021 01:335,27744,142,36615,893,000993,0002,265,088
10Jun 6, 2021 01:335,27833,641,66515,895,000993,0002,265,088
11Jun 6, 2021 01:335,27944,675,61015,901,000993,0002,387,968
12Jun 6, 2021 01:335,27936,947,11414,906,0001,987,0002,527,232
13Jun 6, 2021 01:335,28844,317,02215,927,000995,0002,396,160
14Jun 6, 2021 01:335,28847,878,33615,925,000995,0002,383,872
15Jun 6, 2021 01:335,31138,793,58915,996,000999,0002,383,872
16Jun 6, 2021 01:355,51883,361,98617,656,92102,269,184
17Jun 6, 2021 01:335,54880,678,74617,754,64802,285,568
18Jun 6, 2021 01:355,55761,529,30017,781,88002,273,280
19Jun 6, 2021 01:335,62699,728,83218,003,45602,244,608
20Jun 6, 2021 01:355,72455,475,02018,315,86602,281,472
21Jun 6, 2021 01:335,80563,046,52818,576,99802,240,512
22Jun 6, 2021 01:355,96948,291,32715,080,0004,021,0002,347,008
23Jun 6, 2021 01:355,98843,753,55915,129,0004,034,0002,527,232
24Jun 6, 2021 01:356,03942,656,38816,273,0003,051,0002,334,720