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 25, 2024 12:36matsuoka-601matsuoka-601Score: 4,913Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 25, 2024 12:364,85932,966,16714,512,0001,036,0002,269,184
2Jan 25, 2024 12:364,88344,059,50714,583,0001,041,0002,269,184
3Jan 25, 2024 12:364,88333,301,87314,584,0001,041,0002,285,568
4Jan 25, 2024 12:364,88739,213,65214,597,0001,042,0002,387,968
5Jan 25, 2024 12:364,90132,793,63514,637,0001,045,0002,527,232
6Jan 25, 2024 12:364,90132,130,47214,637,0001,045,0002,269,184
7Jan 25, 2024 12:364,91331,333,37514,674,0001,048,0002,269,184
8Jan 25, 2024 12:364,94833,640,47414,846,000989,0002,285,568
9Jan 25, 2024 12:364,95736,133,49913,879,0001,982,0002,285,568
10Jan 25, 2024 12:365,15981,905,56016,509,83802,187,264
11Jan 25, 2024 12:365,20271,113,96716,645,27802,252,800
12Jan 25, 2024 12:365,22999,811,72116,731,47702,297,856