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 listSep 3, 2022 22:02Franek KortaFranek KortaScore: 4,876Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 3, 2022 21:584,84136,491,11014,458,0001,032,0002,269,184
2Sep 3, 2022 21:584,84233,315,96613,429,0002,066,0002,531,328
3Sep 3, 2022 21:584,84436,050,01214,469,0001,033,0002,531,328
4Sep 3, 2022 21:584,84439,942,49314,468,0001,033,0002,269,184
5Sep 3, 2022 22:024,84833,525,65813,447,0002,068,0002,420,736
6Sep 3, 2022 21:584,84948,183,52915,517,00002,531,328
7Sep 3, 2022 21:584,85029,552,52215,521,00002,433,024
8Sep 3, 2022 21:584,85238,022,46014,492,0001,035,0002,531,328
9Sep 3, 2022 21:584,85438,426,22514,498,0001,035,0002,428,928
10Sep 3, 2022 21:584,86041,692,30315,553,00002,428,928
11Sep 3, 2022 22:024,86831,429,97913,500,0002,077,0002,535,424
12Sep 3, 2022 22:024,86834,405,55814,540,0001,038,0002,437,120
13Sep 3, 2022 22:024,87629,253,97514,562,0001,040,0002,433,024
14Sep 3, 2022 22:024,87829,504,07914,569,0001,040,0002,428,928
15Sep 3, 2022 22:024,88430,242,85114,587,0001,041,0002,269,184
16Sep 3, 2022 22:024,88536,380,23914,589,0001,042,0002,424,832
17Sep 3, 2022 22:024,89137,723,25313,696,0001,956,0002,527,232
18Sep 3, 2022 22:024,90532,291,51415,697,00002,269,184
19Sep 3, 2022 22:025,00986,728,73316,028,54502,199,552
20Sep 3, 2022 21:585,01383,028,22616,040,66802,195,456
21Sep 3, 2022 22:025,01671,041,60516,050,52502,195,456
22Sep 3, 2022 22:025,02675,706,20316,082,78702,203,648
23Sep 3, 2022 21:585,04387,621,13816,138,63602,199,552
24Sep 3, 2022 21:585,06183,142,09316,196,72002,191,360