QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#83229#5575. Knight's Tour ReduxXKErrorCompile Error//C++185b2023-03-01 08:33:222023-03-01 08:33:23

Judging History

This is the latest submission verdict.

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-03-01 08:33:23]
  • Judged
  • [2023-03-01 08:33:22]
  • Submitted

answer

#include <bits/stdc++.h>

#define maxn 100005

using namespace std;

int main() {
	scanf("%d", &n);
	if (n == 1) puts("POSSIBLE\n1 1");
	else puts("IMPOSSIBLE");
	return 0;
}

Details

answer.code: In function ‘int main()’:
answer.code:8:22: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
    8 |         scanf("%d", &n);
      |                      ^
      |                      yn