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 22, 2024 11:10matsuoka-601matsuoka-601Score: 5,536Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 11:105,47239,585,25417,510,00002,269,184
2Jan 22, 2024 11:105,49737,896,10217,591,00002,519,040
3Jan 22, 2024 11:105,49939,931,74916,562,0001,035,0002,523,136
4Jan 22, 2024 11:105,50834,616,66416,589,0001,036,0002,277,376
5Jan 22, 2024 11:105,51344,943,78617,641,00002,289,664
6Jan 22, 2024 11:105,51543,956,58516,611,0001,038,0002,265,088
7Jan 22, 2024 11:105,53645,389,26816,674,0001,042,0002,273,280
8Jan 22, 2024 11:105,54137,420,89516,689,0001,043,0002,265,088
9Jan 22, 2024 11:105,54444,014,50316,757,000985,0002,527,232
10Jan 22, 2024 11:105,61698,197,00917,970,30802,252,800
11Jan 22, 2024 11:105,64372,660,17718,058,64402,281,472
12Jan 22, 2024 11:105,65087,796,57518,080,24802,252,800