73

zxt
Misaka_9982
khalil

SUPERDOGE
QAQfj5

Azu

yxc

def cmp(a, b):
if len(a) != len(b):
return len(a) > len(b)
for x, y in zip(a[::-1],b[::-1]):
if x != y:
return x > y
return True

def sub(a, b):
# a > b
res = []
t = 0
for i in range(len(a)):
t = a[i] - t
if i < len(b):
t -= b[i]
res.append((t+10)%10)
t = (t < 0)

while(len(res) > 1 and res[-1] == 0): res.pop()
return res

if __name__ == '__main__':

a = list(map(int,input()))[::-1]
b = list(map(int,input()))[::-1]

if cmp(a, b):
res = sub(a, b)
print(''.join(map(str,res[::-1])))
else:
res = sub(b, a)
print('-' + ''.join(map(str,res[::-1])))



def add(a, b):
c = []
count = 0
i = 0
while i < max(len(a), len(b)) or count > 0:
n1 = a[i] if i < len(a) else 0
n2 = b[i] if i < len(b) else 0
c.append((n1 + n2 + count) % 10)
count = (n1 + n2 + count) // 10
i = i + 1
return c

if __name__ == '__main__':
a = list(input())
b = list(input())
a.reverse()
b.reverse()
for i in range(len(a)):
a[i] = int(a[i])
for i in range(len(b)):
b[i] = int(b[i])
c.reverse()
print(''.join(map(str, c)))



### 我配置好服务器的地址：

http://112.74.84.241:8000/

### 我的项目地址：

https://git.acwing.com/shihaojie/acapp

### 我配置好服务器的地址：

http://112.74.84.241:8000/

### 我的项目地址：

https://git.acwing.com/shihaojie/acapp

a, b = map(int, input().split(' '))

if a % b == 0 or b % a == 0:
print("Sao Multiplos")
else:
print("Nao sao Multiplos")


配置服务器别名

Host myserver
HostName 123.57.47.211
User acs_0

ssh-keygen
ssh-copy-id myserver


### 我配置好服务器的地址：

http://112.74.84.241:8000/

### 我的项目地址：

https://git.acwing.com/shihaojie/acapp

cd homework_9
vim source.cpp
:set paste#进入粘贴模式
#include <iostream>

using namespace std;

int main()
{
int a, b;
cin >> a >> b;
cout << a + b << endl;
return 0;
}

:wq#保存退出


cd homework_8
vim source.cpp

:wq   保存并退出


cd homework_7
vim source.cpp
gg=G  全文格式化
:wq  保存并退出