(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 #808453

#TimeUsernameProblemLanguageResultExecution timeMemory
808453tlnk07Vepar (COCI21_vepar)C++17
0 / 70
3 ms340 KiB
#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"; } }
#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...