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 2, 2021 21:47Yuriy LyfenkoYuriy LyfenkoScore: 5,036Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 21:474,992540,595,44614,977,000998,0002,273,280
2Jun 2, 2021 21:504,992541,970,07313,978,0001,996,0002,273,280
3Jun 2, 2021 21:474,997539,064,75313,992,0001,998,0002,273,280
4Jun 2, 2021 21:504,997543,106,91114,991,000999,0002,281,472
5Jun 2, 2021 21:504,998540,774,14814,993,000999,0002,273,280
6Jun 2, 2021 21:474,998539,994,78813,993,0001,999,0002,273,280
7Jun 2, 2021 21:505,002537,540,56514,006,0002,000,0002,404,352
8Jun 2, 2021 21:475,009537,506,49815,028,0001,001,0002,273,280
9Jun 2, 2021 21:505,020540,169,59015,061,0001,004,0002,281,472
10Jun 2, 2021 21:475,029539,564,03114,082,0002,011,0002,273,280
11Jun 2, 2021 21:505,031537,661,35214,087,0002,012,0002,281,472
12Jun 2, 2021 21:475,031541,654,84014,088,0002,012,0002,273,280
13Jun 2, 2021 21:475,036536,380,79614,101,0002,014,0002,281,472
14Jun 2, 2021 21:505,038539,456,36615,116,0001,007,0002,273,280
15Jun 2, 2021 21:505,044544,631,89015,132,0001,008,0002,281,472
16Jun 2, 2021 21:475,047544,462,74915,141,0001,009,0002,273,280
17Jun 2, 2021 21:475,052537,208,86016,166,00002,273,280
18Jun 2, 2021 21:505,053546,283,14414,150,0002,021,0002,408,448
19Jun 2, 2021 21:505,165570,917,09516,527,09402,256,896
20Jun 2, 2021 21:475,177593,192,09016,567,00702,256,896
21Jun 2, 2021 21:505,178585,315,49716,570,13602,256,896
22Jun 2, 2021 21:475,187577,979,02716,599,24002,289,664
23Jun 2, 2021 21:475,198585,079,27116,634,57802,293,760
24Jun 2, 2021 21:505,200583,338,94816,639,21102,252,800