- A + B Problem
最短代码挑战
- 2024-7-23 20:14:46 @
C++:
#import<iostream>
main(){int a,b;std::cin>>a>>b;std::cout<<a+b;}
C:
main(){int a,b;scanf("%d%d",&a,&b);printf("%d",a+b);}
Python3:
n=input().split();print(int(n[0])+int(n[1]))
欢欢迎补充!
14 条评论
-
lony @ 2024-8-21 21:19:45
c++中的
import
应改为include
-
2024-8-19 12:47:53@
C++:
main(){int a,b;cin >> a >> b;cout << a+b;}
-
2024-8-9 17:10:27@
PHP
a
-
2024-8-1 11:17:52@
print(eval(input())+eval(input()))
-
2024-7-30 20:28:44@
``` `
-
2024-7-29 12:38:05@
Python3
print(sum(map(int, input().split())))
-
2024-7-27 17:04:08@
6
-
2024-7-27 16:03:41@
Bash: echo
-
2024-7-27 16:00:31@
C++:
main(){}
-
2024-7-25 17:09:54@
《你C++用
import
》🤔 1 -
2024-7-25 9:21:39@
更短的
int main(){}
-
2024-7-24 13:43:05@
python3(?)
print(int(input())+int(input()))
-
2024-7-24 11:48:18@
python3(?)
n=input().split(); print(int(n[1])+int(n[0]))
e
-
2024-7-23 22:02:35@
You rock!!
- 1
信息
- ID
- 56
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 1
- 标签
- 递交数
- 8033
- 已通过
- 3613
- 上传者