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 listJun 14, 2021 20:21Andrey TsvetkovAndrey TsvetkovScore: 5,695Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 14, 2021 20:215,65848,180,74816,094,0002,011,0002,334,720
2Jun 14, 2021 20:215,66045,265,88416,101,0002,012,0002,334,720
3Jun 14, 2021 20:215,66334,333,41216,108,0002,013,0002,334,720
4May 23, 2021 10:235,66744,553,88816,119,0002,014,0002,334,720
5May 23, 2021 10:235,66937,837,87416,127,0002,015,0002,334,720
6May 23, 2021 10:235,67440,612,42916,140,0002,017,0002,527,232
7May 23, 2021 10:235,67441,037,50015,130,0003,026,0002,531,328
8May 23, 2021 10:235,67442,343,31016,139,0002,017,0002,330,624
9May 23, 2021 10:235,68075,165,59718,175,65802,236,416
10May 23, 2021 10:235,68243,264,00715,151,0003,030,0002,334,720
11May 23, 2021 10:235,68341,988,59115,155,0003,031,0002,334,720
12Jun 14, 2021 20:215,68433,583,97715,159,0003,031,0002,404,352
13Jun 14, 2021 20:215,69247,968,83415,178,0003,035,0002,535,424
14Jun 14, 2021 20:215,69539,831,18316,200,0002,025,0002,334,720
15Jun 14, 2021 20:215,70039,287,48315,201,0003,040,0002,531,328
16Jun 14, 2021 20:215,71439,623,88216,255,0002,031,0002,334,720
17May 23, 2021 10:235,71644,888,20715,244,0003,048,0002,334,720
18May 23, 2021 10:235,71937,646,39415,251,0003,050,0002,347,008
19Jun 14, 2021 20:215,72083,169,06718,304,44902,236,416
20Jun 14, 2021 20:215,72935,231,99616,297,0002,037,0002,531,328
21May 23, 2021 10:235,74152,859,94618,371,35202,232,320
22Jun 14, 2021 20:215,75774,165,65518,423,79802,236,416
23May 23, 2021 10:235,77681,768,19918,483,69502,236,416
24May 23, 2021 10:235,77988,777,71218,491,42202,236,416
25Jun 14, 2021 20:215,80887,188,78818,584,09002,232,320
26May 23, 2021 10:235,810102,305,50518,592,71802,236,416
27May 23, 2021 10:235,81477,170,36418,604,18802,232,320