7232 | 2024-01-04 07:49:05 | mcserep | Számjegycsere | python3 | Runtime error 0/100 | 54ms | 21936 KiB |
import platform,socket,re,uuid,json,logging
def getSystemInfo():
try:
info={}
info['platform']=platform.system()
info['platform-release']=platform.release()
info['platform-version']=platform.version()
info['architecture']=platform.machine()
info['hostname']=socket.gethostname()
info['ip-address']=socket.gethostbyname(socket.gethostname())
info['mac-address']=':'.join(re.findall('..', '%012x' % uuid.getnode()))
info['processor']=platform.processor()
return json.dumps(info)
except Exception as e:
logging.exception(e)
print(json.loads(getSystemInfo()))
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Runtime error | 52ms | 17712 KiB | ||||
subtask2 | 0/21 | ||||||
2 | Runtime error | 54ms | 18112 KiB | ||||
subtask3 | 0/23 | ||||||
3 | Runtime error | 52ms | 18332 KiB | ||||
4 | Runtime error | 52ms | 18612 KiB | ||||
5 | Runtime error | 52ms | 19016 KiB | ||||
6 | Runtime error | 52ms | 19100 KiB | ||||
7 | Runtime error | 50ms | 19424 KiB | ||||
8 | Runtime error | 52ms | 19540 KiB | ||||
9 | Runtime error | 54ms | 19876 KiB | ||||
10 | Runtime error | 54ms | 19724 KiB | ||||
11 | Runtime error | 52ms | 19832 KiB | ||||
12 | Runtime error | 52ms | 20004 KiB | ||||
13 | Runtime error | 52ms | 20416 KiB | ||||
14 | Runtime error | 52ms | 20252 KiB | ||||
15 | Runtime error | 54ms | 20340 KiB | ||||
16 | Runtime error | 52ms | 20484 KiB | ||||
17 | Runtime error | 54ms | 20072 KiB | ||||
18 | Runtime error | 54ms | 20960 KiB | ||||
19 | Runtime error | 52ms | 21228 KiB | ||||
20 | Runtime error | 52ms | 20888 KiB | ||||
21 | Runtime error | 52ms | 20924 KiB | ||||
22 | Runtime error | 52ms | 21120 KiB | ||||
23 | Runtime error | 54ms | 21216 KiB | ||||
subtask4 | 0/41 | ||||||
24 | Runtime error | 52ms | 21096 KiB | ||||
25 | Runtime error | 52ms | 20952 KiB | ||||
26 | Runtime error | 52ms | 21048 KiB | ||||
27 | Runtime error | 52ms | 20908 KiB | ||||
28 | Runtime error | 52ms | 20868 KiB | ||||
29 | Runtime error | 52ms | 20964 KiB | ||||
30 | Runtime error | 52ms | 21076 KiB | ||||
31 | Runtime error | 52ms | 20940 KiB | ||||
32 | Runtime error | 52ms | 21232 KiB | ||||
33 | Runtime error | 52ms | 20908 KiB | ||||
34 | Runtime error | 50ms | 20900 KiB | ||||
35 | Runtime error | 52ms | 21128 KiB | ||||
36 | Runtime error | 52ms | 20924 KiB | ||||
37 | Runtime error | 52ms | 21000 KiB | ||||
38 | Runtime error | 50ms | 20972 KiB | ||||
39 | Runtime error | 52ms | 21112 KiB | ||||
40 | Runtime error | 52ms | 21344 KiB | ||||
41 | Runtime error | 52ms | 21204 KiB | ||||
42 | Runtime error | 54ms | 21152 KiB | ||||
43 | Runtime error | 54ms | 21164 KiB | ||||
44 | Runtime error | 52ms | 21460 KiB | ||||
45 | Runtime error | 52ms | 21468 KiB | ||||
46 | Runtime error | 54ms | 21732 KiB | ||||
47 | Runtime error | 52ms | 21472 KiB | ||||
subtask5 | 0/15 | ||||||
48 | Runtime error | 54ms | 21356 KiB | ||||
49 | Runtime error | 52ms | 21472 KiB | ||||
50 | Runtime error | 52ms | 21612 KiB | ||||
51 | Runtime error | 52ms | 21608 KiB | ||||
52 | Runtime error | 52ms | 21564 KiB | ||||
53 | Runtime error | 52ms | 21560 KiB | ||||
54 | Runtime error | 50ms | 21616 KiB | ||||
55 | Runtime error | 52ms | 21460 KiB | ||||
56 | Runtime error | 52ms | 21488 KiB | ||||
57 | Runtime error | 52ms | 21620 KiB | ||||
58 | Runtime error | 52ms | 21636 KiB | ||||
59 | Runtime error | 52ms | 21548 KiB | ||||
60 | Runtime error | 54ms | 21512 KiB | ||||
61 | Runtime error | 54ms | 21780 KiB | ||||
62 | Runtime error | 52ms | 21936 KiB | ||||
63 | Runtime error | 52ms | 21812 KiB | ||||
64 | Runtime error | 52ms | 21764 KiB | ||||
65 | Runtime error | 50ms | 21820 KiB | ||||
66 | Runtime error | 54ms | 21544 KiB |