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 27, 2021 19:30Yuriy LyfenkoYuriy LyfenkoScore: 5,083Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 19:305,03034,656,13314,084,0002,012,0002,396,160
2May 27, 2021 19:305,05734,907,25315,171,0001,011,0002,265,088
3May 27, 2021 19:305,06133,137,14014,172,0002,024,0002,269,184
4May 27, 2021 19:305,06237,766,93814,173,0002,024,0002,265,088
5May 27, 2021 19:305,06236,308,16715,186,0001,012,0002,392,064
6May 27, 2021 19:305,06836,352,37015,206,0001,013,0002,383,872
7May 27, 2021 19:305,08348,729,34914,234,0002,033,0002,527,232
8May 27, 2021 19:305,08629,877,02015,258,0001,017,0002,396,160
9May 27, 2021 19:305,11135,982,16114,311,0002,044,0002,265,088
10May 27, 2021 19:305,24282,488,94616,774,17002,281,472
11May 27, 2021 19:305,26147,306,85816,836,04802,277,376
12May 27, 2021 19:305,34048,454,60917,086,66902,277,376