QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#449594#8768. Arrested DevelopmentjoltcodeWA 0ms3616kbC++14209b2024-06-21 15:13:392024-06-21 15:13:39

Judging History

你现在查看的是最新测评结果

  • [2024-06-21 15:13:39]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3616kb
  • [2024-06-21 15:13:39]
  • 提交

answer

#include <bits/stdc++.h>
using namespace std;

int main()
{
	int n;
	cin>>n;
	long long int sum=0;
	for(int i=0; i<n; i++)
	{
		int a, b;
		cin>>a>>b;
		sum=sum+min(a, b);
	}
	cout<<sum<<endl;
}

详细

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 3616kb

input:

4
100 1
1 90
1 20
1 20

output:

4

result:

wrong answer 1st lines differ - expected: '3', found: '4'