Submission #679687

# Submission time Handle Problem Language Result Execution time Memory
679687 2023-01-09T01:25:08 Z boyliguanhan Catfish Farm (IOI22_fish) C++17
0 / 100
22 ms 2132 KB
#include<bits/stdc++.h>
using namespace std;
long long max_weights(int n, int m, vector<int> x, vector<int> y, vector<int> w){
    long long res[2];
    for(int i = 0; i < n; i++)
        res[x[i]%2]+=w[i];
    return max(res[0], res[1]);
}
# Verdict Execution time Memory Grader output
1 Incorrect 22 ms 2132 KB 1st lines differ - on the 1st token, expected: '40313272768926', found: '183302331746661'
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB 1st lines differ - on the 1st token, expected: '2', found: '140731264546417'
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 1 ms 340 KB Execution killed with signal 11
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB 1st lines differ - on the 1st token, expected: '3', found: '140729992888450'
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB 1st lines differ - on the 1st token, expected: '3', found: '140729992888450'
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB 1st lines differ - on the 1st token, expected: '3', found: '140729992888450'
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 1 ms 340 KB Execution killed with signal 11
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 22 ms 2132 KB 1st lines differ - on the 1st token, expected: '40313272768926', found: '183302331746661'
2 Halted 0 ms 0 KB -