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 29, 2022 09:57apuxbtapuxbtScore: 5,341Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 29, 2022 09:575,28533,649,56314,923,0001,989,0002,527,232
2Nov 29, 2022 09:575,28740,874,17514,927,0001,990,0002,506,752
3Nov 29, 2022 09:575,29435,424,50715,944,000996,0002,265,088
4Nov 29, 2022 09:575,30841,615,58614,986,0001,998,0002,265,088
5Nov 29, 2022 09:575,31040,366,39315,994,000999,0002,383,872
6Nov 29, 2022 09:575,32150,482,48515,024,0002,003,0002,265,088
7Nov 29, 2022 09:575,34142,583,98916,085,0001,005,0002,379,776
8Nov 29, 2022 09:575,34831,386,50515,102,0002,013,0002,383,872
9Nov 29, 2022 09:575,36740,409,51915,153,0002,020,0002,265,088
10Nov 29, 2022 09:575,510104,076,81417,631,02802,240,512
11Nov 29, 2022 09:575,51275,188,13917,638,57302,277,376
12Nov 29, 2022 09:575,53776,319,46317,719,23302,277,376