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 listNov 18, 2024 01:41Mikhail ShirokovMikhail ShirokovScore: 4,382Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 18, 2024 09:124,36731,766,11712,976,000998,0002,277,376
2Nov 18, 2024 09:124,36935,100,69812,984,000998,0002,494,464
3Nov 18, 2024 01:414,37036,453,80512,986,000998,0002,494,464
4Nov 18, 2024 09:124,37039,898,05612,986,000998,0002,498,560
5Nov 18, 2024 09:124,37932,733,22713,013,0001,001,0002,490,368
6Nov 18, 2024 01:414,38034,781,27713,014,0001,001,0002,498,560
7Nov 18, 2024 09:124,38038,018,40813,014,0001,001,0002,490,368
8Nov 18, 2024 01:414,38032,024,97312,015,0002,002,0002,277,376
9Nov 18, 2024 01:414,38035,357,21713,016,0001,001,0002,277,376
10Nov 18, 2024 01:414,38234,844,94213,022,0001,001,0002,277,376
11Nov 18, 2024 09:124,38332,060,24912,023,0002,003,0002,277,376
12Nov 18, 2024 09:124,38430,037,73013,027,0001,002,0002,502,656
13Nov 18, 2024 01:414,39635,520,74713,062,0001,004,0002,277,376
14Nov 18, 2024 09:124,39727,379,09413,065,0001,005,0002,535,424
15Nov 18, 2024 01:414,40133,235,92213,077,0001,005,0002,535,424
16Nov 18, 2024 09:124,40437,241,82313,155,000939,0002,273,280
17Nov 18, 2024 01:414,41130,628,63713,107,0001,008,0002,494,464
18Nov 18, 2024 01:414,41330,392,39013,113,0001,008,0002,535,424