답안 #808453

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
808453 2023-08-05T07:00:22 Z tlnk07 Vepar (COCI21_vepar) C++17
0 / 70
3 ms 340 KB
#include<bits/stdc++.h>
using namespace std;

long long t, a, b, c, d, s, s1;

int main()
{
	cin >> t;
	while(t--)
	{
		cin >> a >> b >> c >> d;
		s = s1 = 1;
		for(int i = a; i <= b; ++i)	s *= i;
		for(int i = c; i <= d; ++i)	s1 *= i;
		if(s1 % s == 0)	cout << "DA\n";
		else	cout << "NE\n";
	}
}
# 결과 실행 시간 메모리 Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Runtime error 1 ms 340 KB Execution killed with signal 8
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Runtime error 1 ms 340 KB Execution killed with signal 8
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Runtime error 1 ms 300 KB Execution killed with signal 8
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Runtime error 3 ms 340 KB Execution killed with signal 8
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Runtime error 3 ms 340 KB Execution killed with signal 8
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Runtime error 3 ms 300 KB Execution killed with signal 8
2 Halted 0 ms 0 KB -