ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#207697 | #1. A+B Problem | Chenzihan0826 | 100 | 2ms | 1196kb | C++ | 366b | 2024-07-30 16:00:18 | 2024-07-30 16:00:19 |
answer
#include<bits/stdc++.h>
#define int long long
using namespace std;
int read()
{ int x = 0,f = 1;char ch = getchar();
while (ch < '0' || ch > '9')ch == '-'?f = -1:ch = getchar();
while (ch >= '0' && ch <= '9')x = (x << 1) + (x << 3) + (ch ^ 48),ch = getchar();
return x * f;}
signed main()
{
int a,b;
cin>>a>>b;
cout<<a+b;
return 0;
}
Details
小提示:点击横条可展开更详细的信息
Test #1:
score: 10
Accepted
time: 0ms
memory: 1196kb
input:
23 24
output:
47
result:
ok single line: '47'
Test #2:
score: 10
Accepted
time: 0ms
memory: 1192kb
input:
233 1
output:
234
result:
ok single line: '234'
Test #3:
score: 10
Accepted
time: 0ms
memory: 1192kb
input:
222 333
output:
555
result:
ok single line: '555'
Test #4:
score: 10
Accepted
time: 1ms
memory: 1192kb
input:
1 333
output:
334
result:
ok single line: '334'
Test #5:
score: 10
Accepted
time: 0ms
memory: 1192kb
input:
222 333
output:
555
result:
ok single line: '555'
Test #6:
score: 10
Accepted
time: 0ms
memory: 1196kb
input:
242 333
output:
575
result:
ok single line: '575'
Test #7:
score: 10
Accepted
time: 0ms
memory: 1196kb
input:
222 3330
output:
3552
result:
ok single line: '3552'
Test #8:
score: 10
Accepted
time: 0ms
memory: 1196kb
input:
2220 333
output:
2553
result:
ok single line: '2553'
Test #9:
score: 10
Accepted
time: 0ms
memory: 1192kb
input:
222 555
output:
777
result:
ok single line: '777'
Test #10:
score: 10
Accepted
time: 1ms
memory: 1196kb
input:
222 3333
output:
3555
result:
ok single line: '3555'
Extra Test:
score: 0
Extra Test Passed