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 listJul 10, 2023 23:44Anılcan GülkayaAnılcan GülkayaScore: 5,533Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 10, 2023 23:445,47644,075,41816,494,0001,030,0002,265,088
2Jul 10, 2023 23:445,47739,026,69916,496,0001,031,0002,265,088
3Jul 10, 2023 23:435,48431,346,59916,518,0001,032,0002,265,088
4Jul 10, 2023 23:435,49146,798,58816,537,0001,033,0002,387,968
5Jul 10, 2023 23:435,49140,801,97216,537,0001,033,0002,392,064
6Jul 10, 2023 23:435,49538,654,48416,551,0001,034,0002,265,088
7Jul 10, 2023 23:435,49940,249,30916,561,0001,035,0002,265,088
8Jul 10, 2023 23:445,50143,293,41416,568,0001,035,0002,265,088
9Jul 10, 2023 23:445,50743,096,67416,585,0001,036,0002,392,064
10Jul 10, 2023 23:445,51149,818,76917,634,00002,392,064
11Jul 10, 2023 23:435,51133,432,47116,598,0001,037,0002,510,848
12Jul 10, 2023 23:445,53343,401,46316,723,000983,0002,392,064
13Jul 10, 2023 23:435,53349,604,36315,739,0001,967,0002,265,088
14Jul 10, 2023 23:445,54542,739,27016,701,0001,043,0002,265,088
15Jul 10, 2023 23:435,57244,300,50815,848,0001,981,0002,527,232
16Jul 10, 2023 23:445,57543,271,39315,857,0001,982,0002,396,160
17Jul 10, 2023 23:445,58246,289,19516,871,000992,0002,265,088
18Jul 10, 2023 23:435,58742,333,01016,885,000993,0002,265,088
19Jul 10, 2023 23:445,94987,691,65419,037,23502,293,760
20Jul 10, 2023 23:445,95188,490,07219,043,67202,281,472
21Jul 10, 2023 23:435,973103,767,97019,112,79402,273,280
22Jul 10, 2023 23:435,98795,185,83119,158,22202,277,376
23Jul 10, 2023 23:445,99993,905,39319,195,90202,277,376
24Jul 10, 2023 23:436,05485,677,13919,372,43902,277,376