(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.

Submission #991603

#TimeUsernameProblemLanguageResultExecution timeMemory
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...