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 6, 2024 22:47CountHarebourgCountHarebourgScore: 11,378Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 6, 2024 22:4711,20961,956,3576,974,00028,894,0002,289,664
2Nov 6, 2024 22:4711,24159,401,2007,993,00027,978,0002,289,664
3Nov 6, 2024 22:4711,31958,737,1106,036,00030,184,0002,289,664
4Nov 6, 2024 22:4711,33367,014,71516,117,00020,147,0002,387,968
5Nov 6, 2024 22:4711,37857,812,1126,068,00030,340,0002,277,376
6Nov 6, 2024 22:4711,38965,482,8696,074,00030,371,0002,273,280
7Nov 6, 2024 22:4711,39857,309,1847,092,00029,381,0002,289,664
8Nov 6, 2024 22:4711,43567,733,5815,082,00031,510,0002,289,664
9Nov 6, 2024 22:4711,52757,946,59810,246,00026,640,0002,281,472