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 listAug 13, 2024 18:16Chandrasekaran AkashChandrasekaran AkashError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 13, 2024 18:1800000generator exited with code 1
2Aug 13, 2024 18:185,30083,723,38516,959,94102,179,072
3Aug 13, 2024 18:405,30860,959,59016,984,43602,301,952
4Aug 13, 2024 18:165,30986,121,95516,988,73902,174,976
5Aug 13, 2024 18:165,31252,920,23616,998,34302,310,144
6Aug 13, 2024 18:185,31889,672,38617,019,11102,301,952
7Aug 18, 2024 05:145,32778,987,92917,046,56502,306,048
8Aug 13, 2024 18:185,33061,043,04817,056,58502,297,856
9Aug 18, 2024 05:145,33091,502,25717,055,28802,306,048
10Aug 13, 2024 18:405,334101,289,04317,067,38302,301,952
11Aug 18, 2024 05:145,34184,157,46817,090,61102,301,952
12Aug 13, 2024 18:165,35785,094,45217,141,37402,301,952
13Aug 13, 2024 18:405,37872,356,34917,211,18402,306,048