QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#698923#7076. Browser GameskiwiWA 1ms6020kbC++20503b2024-11-01 23:06:452024-11-01 23:06:46

Judging History

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

  • [2024-11-01 23:06:46]
  • 评测
  • 测评结果:WA
  • 用时:1ms
  • 内存:6020kb
  • [2024-11-01 23:06:45]
  • 提交

answer

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

struct node {
	long long num;
	string s;
	long long res;
} web[50005];

bool cmp1(struct node x, struct node y) {
	if (x.s < y.s) {
		return true;
	}
	else {
		return false;
	}
}

bool cmp2(struct node x, struct node y) {
	if (x.num < y.num) {
		return true;
	}
	else {
		return false;
	}
}

int main() 
{
	//	ios::sync_with_stdio(false);
	//	cin.tie(0);
	//	cout.tie(0);
	cout << 1 << endl << 2 << endl << 2;
	return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 6020kb

input:

3
ufoipv.ofu
hsbocmvfgboubtz.kq
hfotijo.njipzp.dpn/kb

output:

1
2
2

result:

ok 3 lines

Test #2:

score: -100
Wrong Answer
time: 1ms
memory: 5924kb

input:

3
hfotijo.njipzp.dpn/kb
hsbocmvfgboubtz.kq
ufoipv.ofu

output:

1
2
2

result:

wrong answer 2nd lines differ - expected: '1', found: '2'