QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#702237#7779. Swiss StageFluoresce#WA 0ms3512kbC++201.2kb2024-11-02 15:32:262024-11-02 15:32:26

Judging History

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

  • [2024-11-02 15:32:26]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3512kb
  • [2024-11-02 15:32:26]
  • 提交

answer

#include<bits/stdc++.h>
#include<unordered_map>
#include<unordered_set>
typedef long long ll;
typedef long double ld;
typedef unsigned long long ull;
#define debug(a) cout<<a<<'\n'
#define Pll pair<ll,ll>
#define PII pair<int,int>
#define ft first
#define sd second
#define vec vector
#define pushk push_back
#define ump unordered_map
#define pl p<<1
#define pr p<<1|1
using namespace std;
const int N = 2e2 + 10, M = 1e4 + 10, mod = 998244353;
const ll inf = 1e18;
const ld eps = 1e-13;
int mov[4][2] = { {0,1},{1,0},{-1,0},{0,-1} }, dx, dy, _ = 1, __ = 1;
void bout(bool f) {
	if (f)cout << "YES\n";
	else cout << "NO\n";
}
ll n, m, k;
int g[N][N]; 

void ini() {
	g[2][0]=g[2][1]=g[2][2]=2;
	g[1][0]=g[1][1]=3;
	g[1][2]=4;
	g[0][0]=4;
	g[0][1]=4;
	g[0][2]=6;
}
void solve() {
	cin>>n>>m;
	cout<<g[n][m];
}

int main() {
	ios::sync_with_stdio(0);
	cin.tie(0);
	cout.tie(0);
#ifndef ONLINE_JUDGE
	streambuf *cinbp=cin.rdbuf(),*coutbp=cout.rdbuf();
	ifstream fin("in.txt");
	ofstream fout("out.txt");	
	cin.rdbuf(fin.rdbuf());
	cout.rdbuf(fout.rdbuf());
#endif
	cin >> _;
	__ = _;
	ini();
	while (_--) {
		solve();
	}
	return 0;
}

詳細信息

Test #1:

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

input:

0 1

output:


result:

wrong answer Answer contains longer sequence [length = 1], but output contains 0 elements