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 listJul 8, 2021 16:27Yuriy LyfenkoYuriy LyfenkoScore: 5,985Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2021 16:275,95936,064,36817,062,0002,007,0002,334,720
2Jul 8, 2021 16:275,96993,946,93719,099,52602,228,224
3Jul 8, 2021 16:275,97141,328,49517,095,0002,011,0002,334,720
4Jul 8, 2021 16:275,97444,695,60016,100,0003,018,0002,334,720
5Jul 8, 2021 16:275,97962,886,88519,134,28902,220,032
6Jul 8, 2021 16:275,98338,997,52017,131,0002,015,0002,334,720
7Jul 8, 2021 16:275,98534,226,19917,137,0002,016,0002,334,720
8Jul 8, 2021 16:275,99637,456,15117,168,0002,019,0002,334,720
9Jul 8, 2021 16:275,99742,836,83517,170,0002,020,0002,523,136
10Jul 8, 2021 16:276,01344,183,27217,215,0002,025,0002,322,432
11Jul 8, 2021 16:276,01639,124,55816,211,0003,039,0002,519,040
12Jul 8, 2021 16:276,02488,038,79119,277,48202,211,840