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:38Manuel PepeManuel PepeScore: 252,345Success
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:38252,239834,874,242779,161,00028,005,0002,465,792
2Nov 7, 2024 00:38252,341836,208,418762,521,00044,971,0002,461,696
3Nov 7, 2024 00:38252,343836,675,155782,512,00024,984,0002,473,984
4Nov 7, 2024 00:38252,345840,887,716773,524,00033,979,0002,330,624
5Nov 7, 2024 00:38252,345834,208,746778,522,00028,982,0002,473,984
6Nov 7, 2024 00:38252,366841,134,772786,582,00020,988,0002,330,624
7Nov 7, 2024 00:38252,411838,103,040768,729,00038,986,0002,330,624
8Nov 7, 2024 00:38252,428832,474,589776,778,00030,991,0002,330,624
9Nov 7, 2024 00:38252,463830,337,880777,886,00029,995,0002,330,624