Submission #679686

# Submission time Handle Problem Language Result Execution time Memory
679686 2023-01-09T01:24:28 Z boyliguanhan Catfish Farm (IOI22_fish) C++17
0 / 100
25 ms 3532 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){
    int 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 25 ms 3532 KB 1st lines differ - on the 1st token, expected: '40313272768926', found: '1048377720'
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB 1st lines differ - on the 1st token, expected: '2', found: '420274721'
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 1 ms 212 KB 1st lines differ - on the 1st token, expected: '3', found: '32766'
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB 1st lines differ - on the 1st token, expected: '3', found: '32766'
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB 1st lines differ - on the 1st token, expected: '3', found: '32766'
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 25 ms 3532 KB 1st lines differ - on the 1st token, expected: '40313272768926', found: '1048377720'
2 Halted 0 ms 0 KB -