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 22:00Yuriy LyfenkoYuriy LyfenkoScore: 5,482Success
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 22:005,4311,217,862,16814,484,0002,896,0002,396,160
2May 17, 2021 22:005,4331,829,713,35815,453,0001,931,0002,519,040
3May 17, 2021 22:005,437147,868,52316,433,000966,0002,404,352
4May 17, 2021 22:005,4431,312,269,76717,416,00002,396,160
5May 17, 2021 22:005,443629,655,18613,547,0003,870,0002,400,256
6May 17, 2021 22:005,445766,173,94617,424,00002,404,352
7May 17, 2021 22:005,482325,898,11715,592,0001,949,0002,400,256
8May 17, 2021 22:005,4852,063,390,40917,552,00002,396,160
9May 17, 2021 22:005,4861,224,934,58216,581,000975,0002,400,256
10May 17, 2021 22:005,642892,965,13618,053,92702,293,760
11May 17, 2021 22:005,6553,023,855,02918,096,18702,289,664
12May 17, 2021 22:005,6732,905,190,80018,154,59302,293,760