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 3, 2021 01:35Yuriy 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 3, 2021 01:354,993540,639,36713,980,0001,997,0002,273,280
2Jun 2, 2021 22:075,001540,181,45315,002,0001,000,0002,273,280
3Jun 2, 2021 22:075,011542,900,98914,030,0002,004,0002,273,280
4Jun 3, 2021 01:355,013537,928,10114,035,0002,005,0002,273,280
5Jun 3, 2021 01:355,013540,937,69514,037,0002,005,0002,281,472
6Jun 2, 2021 22:075,018547,251,31514,049,0002,007,0002,281,472
7Jun 2, 2021 22:075,021537,301,94314,060,0002,008,0002,408,448
8Jun 2, 2021 22:075,026541,395,05514,072,0002,010,0002,273,280
9Jun 3, 2021 01:355,030537,773,49114,084,0002,012,0002,273,280
10Jun 2, 2021 22:075,031537,867,94115,092,0001,006,0002,281,472
11Jun 3, 2021 01:355,032538,161,53014,089,0002,012,0002,273,280
12Jun 3, 2021 01:355,033544,023,91515,098,0001,006,0002,273,280
13Jun 3, 2021 01:355,036539,096,86314,102,0002,014,0002,273,280
14Jun 2, 2021 22:075,039538,649,73514,110,0002,015,0002,273,280
15Jun 3, 2021 01:355,042544,188,79614,118,0002,016,0002,273,280
16Jun 3, 2021 01:355,044536,575,67515,132,0001,008,0002,408,448
17Jun 2, 2021 22:075,073537,659,28016,235,00002,273,280
18Jun 2, 2021 22:075,074539,249,78715,224,0001,014,0002,273,280
19Jun 2, 2021 22:075,164574,752,79616,523,90302,256,896
20Jun 2, 2021 22:075,167571,162,78616,535,12502,297,856
21Jun 3, 2021 01:355,169586,363,29416,541,10202,289,664
22Jun 3, 2021 01:355,181574,273,78716,580,01002,281,472
23Jun 3, 2021 01:355,192579,761,65816,613,17102,252,800
24Jun 2, 2021 22:075,206576,672,58216,660,37002,252,800