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 listNov 11, 2024 18:40ZOTTIGZOTTIGScore: 67,830Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 11, 2024 18:4067,765240,937,830214,850,0001,998,0002,490,368
2Nov 11, 2024 18:4067,772243,256,404215,870,000999,0002,486,272
3Nov 11, 2024 18:4067,785246,637,314214,912,0001,999,0002,326,528
4Nov 11, 2024 18:4067,807249,516,336214,984,0001,999,0002,330,624
5Nov 11, 2024 18:4067,830245,382,016215,055,0002,000,0002,490,368
6Nov 11, 2024 18:4067,841242,016,740215,091,0002,000,0002,498,560
7Nov 11, 2024 18:4067,883241,418,906215,224,0002,002,0002,330,624
8Nov 11, 2024 18:4067,891238,321,084213,246,0004,004,0002,322,432
9Nov 11, 2024 18:4067,919240,884,178216,341,0001,001,0002,326,528