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 15, 2021 22:45Yuriy LyfenkoYuriy LyfenkoScore: 5,678Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 22:455,64844,544,41716,066,0002,008,0002,392,064
2May 15, 2021 22:455,64947,650,95815,064,0003,012,0002,523,136
3May 15, 2021 22:455,65048,501,48315,068,0003,013,0002,523,136
4May 15, 2021 22:455,65043,906,38117,077,0001,004,0002,523,136
5May 15, 2021 22:455,66633,724,81917,124,0001,007,0002,392,064
6May 15, 2021 22:455,67242,830,76017,141,0001,008,0002,392,064
7May 15, 2021 22:455,67846,765,41616,152,0002,019,0002,265,088
8May 15, 2021 22:455,67947,874,01317,165,0001,009,0002,387,968
9May 15, 2021 22:455,70043,967,91016,213,0002,026,0002,523,136
10May 15, 2021 22:456,15491,345,03619,691,31402,285,568
11May 15, 2021 22:456,19595,393,81419,822,79502,265,088
12May 15, 2021 22:456,23382,490,88919,946,85302,273,280