# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
808453 |
2023-08-05T07:00:22 Z |
tlnk07 |
Vepar (COCI21_vepar) |
C++17 |
|
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";
}
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
212 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Runtime error |
1 ms |
340 KB |
Execution killed with signal 8 |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Runtime error |
1 ms |
340 KB |
Execution killed with signal 8 |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Runtime error |
1 ms |
300 KB |
Execution killed with signal 8 |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Runtime error |
3 ms |
340 KB |
Execution killed with signal 8 |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Runtime error |
3 ms |
340 KB |
Execution killed with signal 8 |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Runtime error |
3 ms |
300 KB |
Execution killed with signal 8 |
2 |
Halted |
0 ms |
0 KB |
- |