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 04:48Yuriy LyfenkoYuriy LyfenkoScore: 5,086Success
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 04:485,025539,690,72514,070,0002,010,0002,281,472
2Jun 3, 2021 04:485,035539,718,18415,105,0001,007,0002,408,448
3Jun 3, 2021 04:485,038547,428,47015,113,0001,007,0002,273,280
4Jun 3, 2021 04:485,053538,099,50114,150,0002,021,0002,273,280
5Jun 3, 2021 04:485,055542,060,79514,155,0002,022,0002,273,280
6Jun 3, 2021 04:485,073540,585,85214,206,0002,029,0002,273,280
7Jun 3, 2021 04:485,086547,250,68815,259,0001,017,0002,273,280
8Jun 3, 2021 04:485,095537,265,07216,304,00002,404,352
9Jun 3, 2021 04:485,098535,389,87616,312,00002,281,472
10Jun 3, 2021 04:485,179568,623,32616,572,48202,289,664
11Jun 3, 2021 04:485,198562,725,22616,633,28202,297,856
12Jun 3, 2021 04:485,226577,506,39716,724,31202,252,800