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 20, 2024 15:39KrishanKrishanScore: 146,066Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 20, 2024 15:39145,962493,297,768433,073,00034,005,0002,293,760
2Nov 20, 2024 15:39145,990487,848,074441,160,00026,009,0002,293,760
3Nov 20, 2024 15:39146,003494,821,133434,194,00033,014,0002,293,760
4Nov 20, 2024 15:39146,006496,940,880434,204,00033,015,0002,293,760
5Nov 20, 2024 15:39146,066496,991,208429,379,00038,033,0002,461,696
6Nov 20, 2024 15:39146,077494,919,201435,415,00032,030,0002,293,760
7Nov 20, 2024 15:39146,090493,314,972437,458,00030,031,0002,465,792
8Nov 20, 2024 15:39146,123492,588,926447,612,00019,982,0002,293,760
9Nov 20, 2024 15:39146,161498,479,965440,733,00026,983,0002,367,488