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 listMay 25, 2021 22:16Mikhail DektyarevMikhail DektyarevScore: 4,962Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 22:164,91144,079,30014,668,0001,047,0002,527,232
2May 25, 2021 22:164,91232,857,65614,671,0001,047,0002,387,968
3May 25, 2021 22:164,91844,051,85714,689,0001,049,0002,510,848
4May 25, 2021 22:164,91947,658,48315,740,00002,392,064
5May 25, 2021 22:164,91937,027,48015,740,00002,265,088
6May 25, 2021 22:164,95348,186,93714,861,000990,0002,396,160
7May 25, 2021 22:164,95645,420,78415,860,00002,265,088
8May 25, 2021 22:164,95846,583,67313,882,0001,983,0002,265,088
9May 25, 2021 22:164,95946,327,23414,878,000991,0002,265,088
10May 25, 2021 22:164,95932,700,26515,869,00002,269,184
11May 25, 2021 22:164,96049,065,26714,881,000992,0002,527,232
12May 25, 2021 22:164,96245,755,28914,885,000992,0002,392,064
13May 25, 2021 22:164,96246,006,77415,877,00002,383,872
14May 25, 2021 22:164,96235,706,16114,886,000992,0002,265,088
15May 25, 2021 22:164,96431,513,33414,892,000992,0002,265,088
16May 25, 2021 22:164,96440,079,29913,901,0001,985,0002,392,064
17May 25, 2021 22:164,96437,318,30014,894,000992,0002,265,088
18May 25, 2021 22:164,96541,896,47013,902,0001,986,0002,265,088
19May 25, 2021 22:165,08163,496,77316,258,30102,269,184
20May 25, 2021 22:165,10952,105,80216,350,33702,285,568
21May 25, 2021 22:165,11163,637,83816,356,62202,281,472
22May 25, 2021 22:165,11838,409,32916,376,71902,281,472
23May 25, 2021 22:165,12652,445,46516,404,30802,285,568
24May 25, 2021 22:165,15093,534,72016,480,54802,277,376