ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#120 | #1. 第二个 A + B Problem | Nightmares | 100 | 14ms | 3480kb | C++23 | 471b | 2025-04-17 12:12:29 | 2025-04-19 16:15:01 |
answer
#include<bits/stdc++.h>
using namespace std;
#define int long long
#define fuck inline
const int N=1e5+5;
fuck int read()
{
int x=0,f=1;
char c=getchar();
while(c<'0'||c>'9'){if(c=='-1'){f=-1;}c=getchar();}
while(c>='0'&&c<='9'){x=(x<<3)+(x<<1)+(c-'0');c=getchar();}
return x*f;
}
fuck void write(int x)
{
if(x<0)putchar('-'),x=-x;
if(x>9)write(x/10);
putchar(x%10+'0');
}
signed main()
{
int x=read(),y=read();
write(x+y);
return 0;
}
这程序好像有点Bug,我给组数据试试?
Details
小提示:点击横条可展开更详细的信息
Test #1:
score: 10
Accepted
time: 3ms
memory: 3124kb
input:
23 24
output:
47
result:
ok 1 number(s): "47"
Test #2:
score: 10
Accepted
time: 0ms
memory: 3480kb
input:
233 1
output:
234
result:
ok 1 number(s): "234"
Test #3:
score: 10
Accepted
time: 3ms
memory: 3456kb
input:
222 333
output:
555
result:
ok 1 number(s): "555"
Test #4:
score: 10
Accepted
time: 0ms
memory: 3472kb
input:
1 333
output:
334
result:
ok 1 number(s): "334"
Test #5:
score: 10
Accepted
time: 1ms
memory: 3468kb
input:
222 333
output:
555
result:
ok 1 number(s): "555"
Test #6:
score: 10
Accepted
time: 1ms
memory: 3156kb
input:
242 333
output:
575
result:
ok 1 number(s): "575"
Test #7:
score: 10
Accepted
time: 2ms
memory: 3204kb
input:
222 3330
output:
3552
result:
ok 1 number(s): "3552"
Test #8:
score: 10
Accepted
time: 1ms
memory: 3276kb
input:
2220 333
output:
2553
result:
ok 1 number(s): "2553"
Test #9:
score: 10
Accepted
time: 0ms
memory: 3268kb
input:
222 555
output:
777
result:
ok 1 number(s): "777"
Test #10:
score: 10
Accepted
time: 3ms
memory: 3468kb
input:
222 3333
output:
3555
result:
ok 1 number(s): "3555"
Extra Test:
score: 0
Extra Test Passed