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 19:48Yuriy LyfenkoYuriy LyfenkoScore: 5,040Success
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 19:194,978541,313,97613,940,0001,991,0002,273,280
2Jun 2, 2021 19:194,979540,058,43113,942,0001,991,0002,273,280
3Jun 2, 2021 19:194,990540,748,29213,973,0001,996,0002,273,280
4Jun 2, 2021 19:195,002537,662,32915,006,0001,000,0002,273,280
5Jun 2, 2021 19:485,006536,680,98115,019,0001,001,0002,273,280
6Jun 2, 2021 19:195,008538,079,57114,021,0002,003,0002,265,088
7Jun 2, 2021 19:485,014542,882,89314,039,0002,005,0002,273,280
8Jun 2, 2021 19:485,026549,265,95015,079,0001,005,0002,273,280
9Jun 2, 2021 19:485,031540,537,06015,092,0001,006,0002,273,280
10Jun 2, 2021 19:195,034539,076,05315,104,0001,006,0002,273,280
11Jun 2, 2021 19:195,034537,522,48515,102,0001,006,0002,273,280
12Jun 2, 2021 19:485,038540,233,34114,105,0002,015,0002,273,280
13Jun 2, 2021 19:485,040537,600,68814,112,0002,016,0002,273,280
14Jun 2, 2021 19:195,043543,036,39014,120,0002,017,0002,281,472
15Jun 2, 2021 19:485,046537,944,66214,129,0002,018,0002,281,472
16Jun 2, 2021 19:195,057536,580,67315,172,0001,011,0002,281,472
17Jun 2, 2021 19:485,060539,602,78414,168,0002,024,0002,273,280
18Jun 2, 2021 19:485,062551,719,54515,187,0001,012,0002,281,472
19Jun 2, 2021 19:195,136576,723,61216,434,60902,256,896
20Jun 2, 2021 19:195,151575,716,67916,482,27502,256,896
21Jun 2, 2021 19:485,158567,083,18216,504,88602,252,800
22Jun 2, 2021 19:195,180570,590,63816,574,93602,252,800
23Jun 2, 2021 19:485,182576,288,14616,583,25202,256,896
24Jun 2, 2021 19:485,198576,907,37216,633,77202,256,896