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 listNov 1, 2021 11:18Ilya AniskovetsIlya AniskovetsScore: 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
1Nov 1, 2021 11:185,44937,061,06617,437,00002,289,664
2Nov 1, 2021 11:185,45747,060,94916,434,0001,027,0002,289,664
3Nov 1, 2021 11:185,45736,526,46417,462,00002,289,664
4Nov 1, 2021 11:185,46132,486,63416,447,0001,027,0002,265,088
5Nov 1, 2021 11:185,47438,716,28416,486,0001,030,0002,289,664
6Nov 1, 2021 11:185,47846,472,42517,530,00002,277,376
7Nov 1, 2021 11:185,48238,588,46516,511,0001,031,0002,289,664
8Nov 1, 2021 11:185,49246,936,78617,574,00002,289,664
9Nov 1, 2021 11:185,51140,240,88616,599,0001,037,0002,273,280
10Nov 1, 2021 11:185,63685,823,72118,036,08802,301,952
11Nov 1, 2021 11:185,63983,622,37518,045,02002,301,952
12Nov 1, 2021 11:185,65582,529,41218,095,16302,301,952