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 19, 2024 22:20Dan StolyarovDan StolyarovScore: 19,376Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 19, 2024 22:2019,30985,986,14232,887,00028,901,0002,437,120
2Nov 19, 2024 22:2019,30990,277,72331,891,00029,898,0002,322,432
3Nov 19, 2024 22:2019,31488,943,44131,900,00029,906,0002,334,720
4Nov 19, 2024 22:2019,35491,870,29933,963,00027,969,0002,265,088
5Nov 19, 2024 22:2019,37689,238,41433,002,00029,002,0002,269,184
6Nov 19, 2024 22:2019,38289,272,60533,012,00029,010,0002,322,432
7Nov 19, 2024 22:2019,43488,719,17631,095,00031,095,0002,318,336
8Nov 19, 2024 22:2019,44687,865,92530,110,00032,117,0002,318,336
9Nov 19, 2024 22:2019,56194,322,11733,316,00029,278,0002,322,432