# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1056481 | 2024-08-13T09:39:31 Z | epicci23 | Catfish Farm (IOI22_fish) | C++17 | 47 ms | 13656 KB |
#include "bits/stdc++.h" //#define int long long #define all(v) v.begin() , v.end() #define sz(a) (int)a.size() using namespace std; #include "fish.h" long long tot=0,ok=1; long long max_weights(int n, int m, vector<int> x, vector<int> y, vector<int> w) { for(int i=0;i<m;i++){ long long a=x[i],b=y[i],c=w[i]; if(a&1) ok=0; tot+=c; } if(ok) return tot; } /*void _(){ int n,m,tot=0,ok=1; cin >> n >> m; for(int i=1;i<=m;i++){ int a,b,c; if(a&1) ok=0; cin >> a >> b >> c; tot+=c; } if(ok) cout << tot << '\n'; } int32_t main(){ cin.tie(0); ios::sync_with_stdio(0); int tc=1;//cin >> tc; while(tc--) _(); return 0; }*/
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 11 ms | 2136 KB | Output is correct |
2 | Correct | 14 ms | 4444 KB | Output is correct |
3 | Correct | 0 ms | 348 KB | Output is correct |
4 | Correct | 0 ms | 348 KB | Output is correct |
5 | Correct | 47 ms | 13272 KB | Output is correct |
6 | Correct | 46 ms | 13656 KB | Output is correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 348 KB | Output is correct |
2 | Incorrect | 22 ms | 4144 KB | 1st lines differ - on the 1st token, expected: '40604614618209', found: '80901044391025' |
3 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 344 KB | Output is correct |
2 | Correct | 0 ms | 348 KB | Output is correct |
3 | Incorrect | 15 ms | 2596 KB | 1st lines differ - on the 1st token, expected: '21261825233649', found: '26722970331638' |
4 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 348 KB | Output is correct |
2 | Correct | 0 ms | 348 KB | Output is correct |
3 | Incorrect | 0 ms | 348 KB | 1st lines differ - on the 1st token, expected: '4044', found: '6066' |
4 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 348 KB | Output is correct |
2 | Correct | 0 ms | 348 KB | Output is correct |
3 | Incorrect | 0 ms | 348 KB | 1st lines differ - on the 1st token, expected: '4044', found: '6066' |
4 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 348 KB | Output is correct |
2 | Correct | 0 ms | 348 KB | Output is correct |
3 | Incorrect | 0 ms | 348 KB | 1st lines differ - on the 1st token, expected: '4044', found: '6066' |
4 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 344 KB | Output is correct |
2 | Correct | 0 ms | 348 KB | Output is correct |
3 | Incorrect | 15 ms | 2596 KB | 1st lines differ - on the 1st token, expected: '21261825233649', found: '26722970331638' |
4 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 11 ms | 2136 KB | Output is correct |
2 | Correct | 14 ms | 4444 KB | Output is correct |
3 | Correct | 0 ms | 348 KB | Output is correct |
4 | Correct | 0 ms | 348 KB | Output is correct |
5 | Correct | 47 ms | 13272 KB | Output is correct |
6 | Correct | 46 ms | 13656 KB | Output is correct |
7 | Correct | 0 ms | 348 KB | Output is correct |
8 | Incorrect | 22 ms | 4144 KB | 1st lines differ - on the 1st token, expected: '40604614618209', found: '80901044391025' |
9 | Halted | 0 ms | 0 KB | - |