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 7, 2024 00:27Manuel PepeManuel PepeScore: 256,128Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 7, 2024 00:27254,378839,420,975775,009,00039,000,0002,342,912
2Nov 7, 2024 00:27254,398840,527,306767,070,00047,004,0002,482,176
3Nov 7, 2024 00:27254,528847,770,346780,510,00033,978,0002,342,912
4Nov 7, 2024 00:27255,413845,083,970777,306,00040,015,0002,347,008
5Nov 7, 2024 00:27256,128840,155,885769,635,00049,976,0002,478,080
6Nov 7, 2024 00:27257,163851,357,374784,925,00037,996,0002,342,912
7Nov 7, 2024 00:27257,294851,092,977779,377,00043,964,0002,347,008
8Nov 7, 2024 00:27257,464852,417,749778,891,00044,993,0002,486,272
9Nov 7, 2024 00:27257,785858,827,374779,971,00044,940,0002,342,912