Today was not very busy, but could be every productive. I used to have a weekly study group. Maybe I should create another, but the problem is that I don't have many friends interested in what I'm interested in.
The next Codeforces Round starts at 2:15 am PST !? There's no way I can join.
Skyrim is too interesting… It feels like I live another life.
AWS: Shared File Storage - Amazon Elastic File System (EFS)
I don't get time to look into all the details, but here is my current understanding.
Amazon EFS is a file storage that auto-scale and can be shared across AWS infrastructures such as EC2 instances, AWS containers, and Lambda functions. On-premises servers can access the file storage with Amazon Direct Connect, too.
The only thing to do to use the file system is mounting the file system on AWS infrastructures like EC2 instances. Then, files can be accessed as if they are on the computers.
$ man traceroute
NAME
traceroute – print the route packets take to network host
DESCRIPTION
The Internet is a large and complex aggregation of network hardware, connected together by gateways. Tracking the route one's packets follow (or finding the miscreant gateway that's discarding your
packets) can be difficult. traceroute utilizes the IP protocol `time to live' field and attempts to elicit an ICMP TIME_EXCEEDED response from each gateway along the path to some host.
The only mandatory parameter is the destination host name or IP number. The default probe datagram length is 40 bytes, but this may be increased by specifying a packet size (in bytes) after the
destination host name.
tried in my local machine, but the ICMP packets are only responded up to the 11th packet.
9 50.242.149.166 (50.242.149.166) 15.273 ms 15.185 ms 16.009 ms
10 52.93.141.165 (52.93.141.165) 94.054 ms
52.93.141.141 (52.93.141.141) 31.317 ms
52.93.141.147 (52.93.141.147) 30.425 ms
11 54.240.243.41 (54.240.243.41) 22.620 ms
150.222.111.95 (150.222.111.95) 14.888 ms
150.222.111.129 (150.222.111.129) 16.212 ms
12 * * *
13 * * *
14 * * *
15 * * *
Server Fault: what does “***” mean when traceroute
I tried some options such as -P to specify IP protocol or -m to specify the max time-to-live, but could not make it past the 11th hop. Maybe something happens at the 12th router, and it does not send ICMP packets back?
Problems with the difficulty 800 still hit me hard.
from collections import defaultdict
for _ in range(int(input())):
n = int(input())
a = list(map(int, input().split()))
counter = defaultdict(int)
for ai in a:
counter[ai] += 1
res = 0
for _length, count in counter.items():
res += count // 3 # the minimum number of sides is 3. To maximize the number of polygons generated, we create as many triangles as possible.
print(res)
Sushi 800 Lunchable 300 Bagel 600
Total 1700 kcal
jogging push ups pull ups
TODO: