(UPD: 2024-12-04 14:48 UTC) Judge is not working due to Cloudflare incident. (URL) We can do nothing about it, sorry. After the incident is resolved, we will grade all submissions.

제출 #991603

#제출 시각아이디문제언어결과실행 시간메모리
991603gutzzyVepar (COCI21_vepar)C++14
0 / 70
3 ms604 KiB
#include <bits/stdc++.h> #define int long long using namespace std; int32_t main(){ int t,a,b,c,d; cin >> t; while(t--){ cin >> a >> b >> c >> d; int p = 1; int q = 1; for(int i=a;i<=b;i++) p*=i; for(int i=c;i<=d;i++) q*=i; if(q%p==0) cout << "DA" << endl; else cout << "NE" << endl; } return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...