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 listJan 24, 2024 09:17AnSaAnSaScore: 5,276Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 24, 2024 09:175,26847,745,26815,867,000991,0002,281,472
2Jan 24, 2024 09:175,27134,814,14115,875,000992,0002,400,256
3Jan 24, 2024 09:175,27443,765,31914,892,0001,985,0002,392,064
4Jan 24, 2024 09:175,27547,993,64315,887,000992,0002,281,472
5Jan 24, 2024 09:175,27537,631,41415,888,000993,0002,281,472
6Jan 24, 2024 09:175,27540,604,36616,881,00002,396,160
7Jan 24, 2024 09:175,27642,334,23614,896,0001,986,0002,396,160
8Jan 24, 2024 09:175,28142,593,94415,905,000994,0002,387,968
9Jan 24, 2024 09:175,28343,190,43614,916,0001,988,0002,281,472
10Jan 24, 2024 09:175,48261,583,90617,543,94502,269,184
11Jan 24, 2024 09:175,49298,647,74617,572,98702,269,184
12Jan 24, 2024 09:175,49680,598,98617,587,66402,260,992