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 10, 2024 09:21Viktor SuprunViktor SuprunScore: 76,742Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 10, 2024 09:2176,586274,951,216223,069,00022,006,0002,330,624
2Nov 10, 2024 09:2176,590266,762,313221,079,00024,008,0002,437,120
3Nov 10, 2024 09:2176,670276,519,861221,310,00024,033,0002,441,216
4Nov 10, 2024 09:2176,736272,840,948222,503,00023,052,0002,330,624
5Nov 10, 2024 09:2176,742279,104,343223,523,00022,051,0002,334,720
6Nov 10, 2024 09:2176,744272,410,102217,516,00028,066,0002,433,024
7Nov 10, 2024 09:2176,802272,327,144219,792,00025,975,0002,330,624
8Nov 10, 2024 09:2176,829276,405,034215,870,00029,982,0002,437,120
9Nov 10, 2024 09:2177,299266,567,051219,317,00028,040,0002,330,624