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 listJan 21, 2024 15:09Franek KortaFranek KortaScore: 4,655Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 15:094,60541,360,00714,737,00002,441,216
2Jan 21, 2024 15:094,64628,688,14312,886,0001,982,0002,449,408
3Jan 21, 2024 15:094,64731,895,10914,871,00002,531,328
4Jan 21, 2024 15:094,64927,773,91113,887,000991,0002,265,088
5Jan 21, 2024 15:094,65241,084,02713,893,000992,0002,445,312
6Jan 21, 2024 15:094,65332,598,53313,899,000992,0002,441,216
7Jan 21, 2024 15:094,65531,836,82013,902,000993,0002,437,120
8Jan 21, 2024 15:094,65633,185,09314,899,00002,441,216
9Jan 21, 2024 15:094,65945,364,54713,915,000993,0002,445,312
10Jan 21, 2024 15:094,87286,004,50115,591,63002,179,072
11Jan 21, 2024 15:094,89072,911,18515,646,53002,187,264
12Jan 21, 2024 15:094,91259,027,85315,718,45502,195,456