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 listMay 17, 2021 15:17Yuriy LyfenkoYuriy LyfenkoScore: 5,406Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 15:175,340225,715,17715,077,0002,010,0002,260,992
2May 17, 2021 15:175,363117,071,36917,161,00002,383,872
3May 17, 2021 15:175,368906,515,61117,178,00002,523,136
4May 17, 2021 15:175,369106,391,37015,273,0001,909,0002,265,088
5May 17, 2021 15:175,378612,759,18616,196,0001,012,0002,265,088
6May 17, 2021 15:175,385147,824,85114,360,0002,872,0002,269,184
7May 17, 2021 15:175,406299,777,39515,376,0001,922,0002,523,136
8May 17, 2021 15:175,428871,507,92315,439,0001,929,0002,269,184
9May 17, 2021 15:175,444588,790,39516,455,000967,0002,527,232
10May 17, 2021 15:175,561815,450,55917,794,59702,273,280
11May 17, 2021 15:175,562237,465,55217,799,07702,277,376
12May 17, 2021 15:175,5821,085,274,51117,861,59902,277,376