UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#207265#1. A+B Problemconnection1001ms1244kbC++11496b2024-07-28 09:42:592024-07-28 09:43:01

answer

// #pragma GCC optimize(1)
// #pragma GCC optimize(2)
// #pragma GCC optimize(3,"Ofast","inline")
#include<bits/stdc++.h>
//#include <bits/extc++.h>
//using namespace __gnu_cxx;
//using namespace __gnu_pbds;
using namespace std;
typedef long long ll;
#define mod ll(1e9+7)
#define fastin ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);
int main(){
	ll a,b;scanf("%d %d",&a,&b);
	function<ll(ll,ll)>add= [&](ll a,ll b){
		return a+b;
	};
	cout<<add(a,b)<<endl;
	return 0;
}

详细

小提示:点击横条可展开更详细的信息

Test #1:

score: 10
Accepted
time: 0ms
memory: 1240kb

input:

23 24

output:

47

result:

ok single line: '47'

Test #2:

score: 10
Accepted
time: 0ms
memory: 1244kb

input:

233 1

output:

234

result:

ok single line: '234'

Test #3:

score: 10
Accepted
time: 0ms
memory: 1240kb

input:

222 333

output:

555

result:

ok single line: '555'

Test #4:

score: 10
Accepted
time: 0ms
memory: 1244kb

input:

1 333

output:

334

result:

ok single line: '334'

Test #5:

score: 10
Accepted
time: 0ms
memory: 1244kb

input:

222 333

output:

555

result:

ok single line: '555'

Test #6:

score: 10
Accepted
time: 0ms
memory: 1244kb

input:

242 333

output:

575

result:

ok single line: '575'

Test #7:

score: 10
Accepted
time: 1ms
memory: 1240kb

input:

222 3330

output:

3552

result:

ok single line: '3552'

Test #8:

score: 10
Accepted
time: 0ms
memory: 1244kb

input:

2220 333

output:

2553

result:

ok single line: '2553'

Test #9:

score: 10
Accepted
time: 0ms
memory: 1240kb

input:

222 555

output:

777

result:

ok single line: '777'

Test #10:

score: 10
Accepted
time: 0ms
memory: 1240kb

input:

222 3333

output:

3555

result:

ok single line: '3555'

Extra Test:

score: 0
Extra Test Passed