QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#754167 | #6607. Rise of Shadows | Hans# | WA | 0ms | 3632kb | C++23 | 205b | 2024-11-16 14:24:02 | 2024-11-16 14:24:03 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
int main() {
long long int h, m, a;
cin >> h >> m >> a;
if ((double)a/(double)m*h < .5)
cout << a*2 + 1;
else
cout << h*m;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 3632kb
input:
5 5 4
output:
25
result:
wrong answer 1st numbers differ - expected: '9', found: '25'