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 listApr 22, 2024 04:19Yuriy LyfenkoYuriy LyfenkoScore: 7,149Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2024 04:195,84791,074,90318,709,38302,281,472
2Apr 22, 2024 04:195,93075,852,24518,977,56702,281,472
3Apr 22, 2024 04:197,07249,098,88420,573,0002,057,0002,478,080
4Apr 22, 2024 04:197,10851,263,88021,713,0001,033,0002,473,984
5Apr 22, 2024 04:197,14440,795,68119,879,0002,981,0002,539,520
6Apr 22, 2024 04:197,14648,883,78519,884,0002,982,0002,469,888
7Apr 22, 2024 04:197,14947,580,81819,894,0002,984,0002,560,000
8Apr 22, 2024 04:197,15551,297,47320,906,0001,991,0002,457,600
9Apr 22, 2024 04:197,20551,981,13320,048,0003,007,0002,465,792
10Apr 22, 2024 04:197,20953,565,42421,063,0002,006,0002,560,000
11Apr 22, 2024 04:197,23750,332,29721,144,0002,013,0002,539,520
12Apr 22, 2024 04:197,56389,212,46424,201,44002,277,376