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 19, 2024 03:33matsuoka-601matsuoka-601Score: 4,989Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2024 03:334,93738,630,11314,812,000987,0002,285,568
2Jan 19, 2024 03:334,95637,341,12514,869,000991,0002,285,568
3Jan 19, 2024 03:334,96033,119,43013,888,0001,984,0002,285,568
4Jan 19, 2024 03:334,96643,579,75813,906,0001,986,0002,285,568
5Jan 19, 2024 03:334,98136,983,95413,947,0001,992,0002,285,568
6Jan 19, 2024 03:334,98833,104,10413,965,0001,995,0002,363,392
7Jan 19, 2024 03:334,98940,435,04013,969,0001,995,0002,285,568
8Jan 19, 2024 03:335,00534,147,78614,014,0002,002,0002,269,184
9Jan 19, 2024 03:335,00543,784,26414,015,0002,002,0002,285,568
10Jan 19, 2024 03:335,10268,210,29516,325,10202,301,952
11Jan 19, 2024 03:335,12686,383,60316,403,21902,252,800
12Jan 19, 2024 03:335,15776,981,37316,503,54402,297,856