QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#754167#6607. Rise of ShadowsHans#WA 0ms3632kbC++23205b2024-11-16 14:24:022024-11-16 14:24:03

Judging History

你现在查看的是最新测评结果

  • [2024-11-16 14:24:03]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3632kb
  • [2024-11-16 14:24:02]
  • 提交

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'