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 30, 2023 16:58Alexander MonakovAlexander MonakovScore: 4,553Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2023 16:584,49031,469,19614,369,00002,277,376
2Jun 30, 2023 16:584,49931,732,71814,396,00002,277,376
3Jun 30, 2023 16:584,51128,728,78914,435,00002,494,464
4Jun 30, 2023 16:584,52833,093,21613,456,0001,035,0002,498,560
5Jun 30, 2023 16:584,52830,179,36114,488,00002,277,376
6Jun 30, 2023 16:584,53232,274,87214,503,00002,502,656
7Jun 30, 2023 16:584,53943,940,00214,525,00002,502,656
8Jun 30, 2023 16:584,54037,198,05814,528,00002,277,376
9Jun 30, 2023 16:584,54633,959,96314,548,00002,277,376
10Jun 30, 2023 16:584,54730,150,71313,512,0001,039,0002,277,376
11Jun 30, 2023 16:584,55130,218,19514,563,00002,277,376
12Jun 30, 2023 16:584,55337,887,81914,568,00002,277,376
13Jun 30, 2023 16:584,55335,396,79513,530,0001,040,0002,277,376
14Jun 30, 2023 16:584,55334,061,72213,531,0001,040,0002,498,560
15Jun 30, 2023 16:584,55329,031,21914,571,00002,494,464
16Jun 30, 2023 16:584,55732,492,24714,583,00002,502,656
17Jun 30, 2023 16:584,56930,699,80913,576,0001,044,0002,277,376
18Jun 30, 2023 16:584,57729,437,14113,601,0001,046,0002,277,376
19Jun 30, 2023 16:584,72993,434,20915,132,29402,240,512
20Jun 30, 2023 16:584,73990,251,58915,164,03302,244,608
21Jun 30, 2023 16:584,76760,023,24415,254,55902,240,512
22Jun 30, 2023 16:584,80364,169,14015,369,19602,236,416
23Jun 30, 2023 16:584,81687,570,61715,411,15302,240,512
24Jun 30, 2023 16:584,85379,593,45215,530,12502,248,704