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 16:03Franek KortaFranek KortaScore: 4,563Success
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 16:034,53729,103,07014,519,00002,269,184
2Jan 21, 2024 16:034,54038,909,21313,492,0001,037,0002,531,328
3Jan 21, 2024 16:034,54332,571,94114,539,00002,437,120
4Jan 21, 2024 16:034,54337,137,77014,538,00002,269,184
5Jan 21, 2024 16:034,54333,848,14814,537,00002,265,088
6Jan 21, 2024 16:034,54432,035,97014,541,00002,531,328
7Jan 21, 2024 16:034,55340,388,58114,570,00002,453,504
8Jan 21, 2024 16:034,55431,769,89914,573,00002,281,472
9Jan 21, 2024 16:034,55631,984,68514,578,00002,441,216
10Jan 21, 2024 16:034,55932,438,22514,590,00002,269,184
11Jan 21, 2024 16:034,56035,496,26413,549,0001,042,0002,437,120
12Jan 21, 2024 16:034,56231,935,42014,599,00002,269,184
13Jan 21, 2024 16:034,56330,400,98714,601,00002,531,328
14Jan 21, 2024 16:034,56531,369,85614,609,00002,523,136
15Jan 21, 2024 16:034,56631,499,15114,612,00002,527,232
16Jan 21, 2024 16:034,56637,588,16013,567,0001,043,0002,441,216
17Jan 21, 2024 16:034,57031,800,21814,624,00002,441,216
18Jan 21, 2024 16:034,57140,359,23814,627,00002,269,184
19Jan 21, 2024 16:034,79566,853,97215,343,50802,191,360
20Jan 21, 2024 16:034,81777,423,80115,413,38902,203,648
21Jan 21, 2024 16:034,82353,033,55815,432,15802,207,744
22Jan 21, 2024 16:034,83985,838,70115,484,15602,195,456
23Jan 21, 2024 16:034,850107,587,55515,520,47902,207,744
24Jan 21, 2024 16:034,85758,773,93215,541,28302,191,360