QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#252880 | #7694. Cornhusker | ucup-team004 | WA | 1ms | 3504kb | C++20 | 399b | 2023-11-16 14:15:04 | 2023-11-16 14:15:04 |
Judging History
answer
#include <bits/stdc++.h>
using i64 = long long;
int main() {
std::ios::sync_with_stdio(false);
std::cin.tie(nullptr);
int S = 0;
for (int i = 0; i < 5; i++) {
int A, L;
std::cin >> A >> L;
S += A * L;
}
int N, KWF;
std::cin >> N >> KWF;
int ans = S * N / 5 / KWF;
std::cout << ans << "\n";
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 1ms
memory: 3384kb
input:
16 32 16 32 16 32 16 32 16 32 25 85
output:
150
result:
ok single line: '150'
Test #2:
score: 0
Accepted
time: 1ms
memory: 3384kb
input:
14 30 15 32 15 34 14 34 16 32 27 75
output:
172
result:
ok single line: '172'
Test #3:
score: 0
Accepted
time: 0ms
memory: 3504kb
input:
16 24 16 34 16 40 14 30 16 35 28 95
output:
150
result:
ok single line: '150'
Test #4:
score: 0
Accepted
time: 0ms
memory: 3384kb
input:
10 20 18 36 17 31 20 44 21 23 46 91
output:
276
result:
ok single line: '276'
Test #5:
score: 0
Accepted
time: 1ms
memory: 3388kb
input:
16 38 22 40 18 25 14 34 22 29 26 87
output:
182
result:
ok single line: '182'
Test #6:
score: 0
Accepted
time: 0ms
memory: 3328kb
input:
11 48 11 48 11 22 13 50 14 37 44 87
output:
249
result:
ok single line: '249'
Test #7:
score: 0
Accepted
time: 1ms
memory: 3392kb
input:
13 29 15 32 12 42 24 20 12 45 16 75
output:
101
result:
ok single line: '101'
Test #8:
score: 0
Accepted
time: 0ms
memory: 3392kb
input:
10 21 21 41 22 30 21 39 13 37 29 75
output:
234
result:
ok single line: '234'
Test #9:
score: -100
Wrong Answer
time: 0ms
memory: 3376kb
input:
19 34 9 44 14 45 12 47 13 37 38 89
output:
232
result:
wrong answer 1st lines differ - expected: '231', found: '232'