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 21, 2024 12:23AnSaAnSaScore: 5,289Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 12:235,27346,759,40314,888,0001,985,0002,281,472
2Jan 21, 2024 12:235,27545,472,39014,895,0001,986,0002,281,472
3Jan 21, 2024 12:235,27842,535,45714,902,0001,987,0002,281,472
4Jan 21, 2024 12:235,28045,141,49814,908,0001,987,0002,392,064
5Jan 21, 2024 12:235,28541,838,98915,917,000994,0002,281,472
6Jan 21, 2024 12:235,28739,656,24816,917,00002,396,160
7Jan 21, 2024 12:235,28939,630,80415,931,000995,0002,281,472
8Jan 21, 2024 12:235,30034,716,29115,962,000997,0002,392,064
9Jan 21, 2024 12:235,31135,120,25015,997,000999,0002,400,256
10Jan 21, 2024 12:235,48892,796,95317,562,11202,289,664
11Jan 21, 2024 12:235,50386,577,65817,608,50202,289,664
12Jan 21, 2024 12:235,50656,547,67317,617,92902,289,664