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 16:03Yuriy LyfenkoYuriy LyfenkoScore: 5,030Success
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 16:034,999545,426,06113,999,0001,999,0002,281,472
2Jun 3, 2021 16:035,006537,860,67815,017,0001,001,0002,281,472
3Jun 3, 2021 16:035,014539,763,38214,041,0002,005,0002,273,280
4Jun 3, 2021 16:035,015537,242,11615,046,0001,003,0002,273,280
5Jun 3, 2021 16:035,022540,862,59915,067,0001,004,0002,281,472
6Jun 3, 2021 16:035,026543,617,36614,073,0002,010,0002,404,352
7Jun 3, 2021 16:035,030545,060,10915,091,0001,006,0002,396,160
8Jun 3, 2021 16:035,032539,048,28415,096,0001,006,0002,273,280
9Jun 3, 2021 16:035,033543,119,44214,091,0002,013,0002,273,280
10Jun 3, 2021 16:035,147570,409,51816,469,26802,289,664
11Jun 3, 2021 16:035,195567,208,76216,624,25802,252,800
12Jun 3, 2021 16:035,201577,354,30816,642,13902,289,664