| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1366890 | uranhishig | IMO (EGOI25_imo) | C++20 | 0 ms | 344 KiB |
#include <bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
int n, m, k;
cin >> n >> m >> k;
int a[n][m];
for (int i=0; i <n; i++) {
for (int j = 0; j < m; j++) {
cin >> a[i][j];
}
}
if(n == 2 and m == 2 and k == 1) {
int s0 = a[0][0] + a[0][1];
int s1 = a[1][0] + a[1][1];
if (s0 >= s1) {
cout << 2 << endl;
}
else {
cout << 3 << endl;
}
}
}| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
