Submission #783198

# Submission time Handle Problem Language Result Execution time Memory
783198 2023-07-14T17:41:30 Z vh50 L-triominoes (CEOI21_ltriominoes) C++17
0 / 100
1 ms 212 KB
#include <bits/stdc++.h>
#define int long long
#define endl "\n"
using namespace std;
int n, m, k;
main()
{
	cin >> n >> m >> k;
	if((n * m) % 6LL == 0LL && k == 0LL)	cout << "YES" << endl;
	else	cout << "NO" << endl;
	for(int i = 0; i < k; i++)
	{
		int a, b;
		cin >> a >> b;
	}
}

Compilation message

ltrominoes.cpp:6:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    6 | main()
      | ^~~~
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 0 ms 212 KB Output is correct
2 Correct 0 ms 212 KB Output is correct
3 Correct 1 ms 212 KB Output is correct
4 Correct 0 ms 212 KB Output is correct
5 Correct 0 ms 212 KB Output is correct
6 Incorrect 0 ms 212 KB Output isn't correct
7 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 1 ms 212 KB Output is correct
2 Incorrect 1 ms 212 KB Output isn't correct
3 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 0 ms 212 KB Output is correct
2 Incorrect 0 ms 212 KB Output isn't correct
3 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -