# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1102833 | 2024-10-19T04:43:30 Z | KasymK | Bomb (IZhO17_bomb) | C++17 | 251 ms | 31072 KB |
#include "bits/stdc++.h" using namespace std; #define ff first #define ss second #define all(v) v.begin(), v.end() #define ll long long #define pb push_back #define pii pair<int, int> #define pli pair<ll, int> #define pll pair<ll, ll> #define tr(i, c) for(auto i = c.begin(); i != c.end(); ++i) #define wr puts("----------------") template<class T>bool umin(T& a,T b){if(a>b){a=b;return 1;}return 0;} template<class T>bool umax(T& a,T b){if(a<b){a=b;return 1;}return 0;} const int N = 2505; int v[N][N]; int main(){ int n, m; scanf("%d%d", &n, &m); for(int i = 1; i <= n; ++i) for(int j = 1; j <= m; ++j){ int x; scanf("%d", &x); v[i][j] = x; } puts(v[1][1]?"1":"0"); return 0; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 340 KB | Output isn't correct |
2 | Incorrect | 1 ms | 2552 KB | Output isn't correct |
3 | Incorrect | 4 ms | 23636 KB | Output isn't correct |
4 | Incorrect | 4 ms | 23636 KB | Output isn't correct |
5 | Incorrect | 1 ms | 340 KB | Output isn't correct |
6 | Incorrect | 1 ms | 452 KB | Output isn't correct |
7 | Incorrect | 1 ms | 340 KB | Output isn't correct |
8 | Incorrect | 1 ms | 2388 KB | Output isn't correct |
9 | Incorrect | 2 ms | 2388 KB | Output isn't correct |
10 | Incorrect | 1 ms | 340 KB | Output isn't correct |
11 | Incorrect | 1 ms | 2388 KB | Output isn't correct |
12 | Incorrect | 1 ms | 504 KB | Output isn't correct |
13 | Incorrect | 1 ms | 340 KB | Output isn't correct |
14 | Incorrect | 1 ms | 340 KB | Output isn't correct |
15 | Incorrect | 1 ms | 340 KB | Output isn't correct |
16 | Incorrect | 1 ms | 2388 KB | Output isn't correct |
17 | Incorrect | 2 ms | 2388 KB | Output isn't correct |
18 | Incorrect | 1 ms | 2388 KB | Output isn't correct |
19 | Incorrect | 1 ms | 2388 KB | Output isn't correct |
20 | Incorrect | 1 ms | 2388 KB | Output isn't correct |
21 | Incorrect | 1 ms | 2388 KB | Output isn't correct |
22 | Incorrect | 1 ms | 2496 KB | Output isn't correct |
23 | Incorrect | 1 ms | 2552 KB | Output isn't correct |
24 | Incorrect | 1 ms | 2388 KB | Output isn't correct |
25 | Incorrect | 1 ms | 2388 KB | Output isn't correct |
26 | Incorrect | 1 ms | 2388 KB | Output isn't correct |
27 | Incorrect | 4 ms | 4692 KB | Output isn't correct |
28 | Incorrect | 5 ms | 4692 KB | Output isn't correct |
29 | Incorrect | 5 ms | 4692 KB | Output isn't correct |
30 | Incorrect | 8 ms | 4704 KB | Output isn't correct |
31 | Incorrect | 7 ms | 4692 KB | Output isn't correct |
32 | Incorrect | 7 ms | 4800 KB | Output isn't correct |
33 | Incorrect | 8 ms | 6740 KB | Output isn't correct |
34 | Incorrect | 4 ms | 4692 KB | Output isn't correct |
35 | Incorrect | 8 ms | 6704 KB | Output isn't correct |
36 | Incorrect | 8 ms | 6740 KB | Output isn't correct |
37 | Incorrect | 1 ms | 2644 KB | Output isn't correct |
38 | Incorrect | 204 ms | 31052 KB | Output isn't correct |
39 | Incorrect | 1 ms | 2388 KB | Output isn't correct |
40 | Incorrect | 30 ms | 11580 KB | Output isn't correct |
41 | Incorrect | 1 ms | 2388 KB | Output isn't correct |
42 | Incorrect | 1 ms | 2388 KB | Output isn't correct |
43 | Incorrect | 200 ms | 30928 KB | Output isn't correct |
44 | Incorrect | 8 ms | 6704 KB | Output isn't correct |
45 | Incorrect | 197 ms | 31052 KB | Output isn't correct |
46 | Incorrect | 198 ms | 30900 KB | Output isn't correct |
47 | Incorrect | 210 ms | 31036 KB | Output isn't correct |
48 | Incorrect | 191 ms | 31064 KB | Output isn't correct |
49 | Incorrect | 195 ms | 31052 KB | Output isn't correct |
50 | Incorrect | 192 ms | 31064 KB | Output isn't correct |
51 | Incorrect | 203 ms | 31052 KB | Output isn't correct |
52 | Incorrect | 194 ms | 31044 KB | Output isn't correct |
53 | Incorrect | 195 ms | 31052 KB | Output isn't correct |
54 | Incorrect | 251 ms | 31052 KB | Output isn't correct |
55 | Incorrect | 188 ms | 30908 KB | Output isn't correct |
56 | Incorrect | 214 ms | 30904 KB | Output isn't correct |
57 | Incorrect | 195 ms | 31052 KB | Output isn't correct |
58 | Incorrect | 212 ms | 31052 KB | Output isn't correct |
59 | Incorrect | 227 ms | 31024 KB | Output isn't correct |
60 | Incorrect | 188 ms | 31052 KB | Output isn't correct |
61 | Incorrect | 213 ms | 31052 KB | Output isn't correct |
62 | Incorrect | 195 ms | 31052 KB | Output isn't correct |
63 | Incorrect | 198 ms | 31052 KB | Output isn't correct |
64 | Incorrect | 202 ms | 31032 KB | Output isn't correct |
65 | Incorrect | 198 ms | 30900 KB | Output isn't correct |
66 | Incorrect | 220 ms | 31052 KB | Output isn't correct |
67 | Incorrect | 209 ms | 31048 KB | Output isn't correct |
68 | Incorrect | 197 ms | 30904 KB | Output isn't correct |
69 | Incorrect | 196 ms | 30900 KB | Output isn't correct |
70 | Incorrect | 126 ms | 25016 KB | Output isn't correct |
71 | Incorrect | 201 ms | 31052 KB | Output isn't correct |
72 | Incorrect | 201 ms | 31056 KB | Output isn't correct |
73 | Incorrect | 203 ms | 31052 KB | Output isn't correct |
74 | Incorrect | 208 ms | 31064 KB | Output isn't correct |
75 | Incorrect | 216 ms | 31024 KB | Output isn't correct |
76 | Incorrect | 198 ms | 31052 KB | Output isn't correct |
77 | Incorrect | 207 ms | 30940 KB | Output isn't correct |
78 | Incorrect | 194 ms | 30828 KB | Output isn't correct |
79 | Incorrect | 198 ms | 31052 KB | Output isn't correct |
80 | Incorrect | 205 ms | 31036 KB | Output isn't correct |
81 | Incorrect | 195 ms | 31052 KB | Output isn't correct |
82 | Incorrect | 193 ms | 31044 KB | Output isn't correct |
83 | Incorrect | 205 ms | 31052 KB | Output isn't correct |
84 | Incorrect | 198 ms | 31072 KB | Output isn't correct |
85 | Incorrect | 210 ms | 31052 KB | Output isn't correct |
86 | Incorrect | 193 ms | 31052 KB | Output isn't correct |
87 | Incorrect | 200 ms | 31052 KB | Output isn't correct |
88 | Incorrect | 188 ms | 31060 KB | Output isn't correct |
89 | Incorrect | 206 ms | 30924 KB | Output isn't correct |
90 | Incorrect | 132 ms | 25016 KB | Output isn't correct |
91 | Incorrect | 195 ms | 31032 KB | Output isn't correct |
92 | Incorrect | 198 ms | 31064 KB | Output isn't correct |
93 | Incorrect | 230 ms | 31052 KB | Output isn't correct |
94 | Incorrect | 197 ms | 30896 KB | Output isn't correct |
95 | Incorrect | 196 ms | 30912 KB | Output isn't correct |
96 | Incorrect | 207 ms | 31068 KB | Output isn't correct |
97 | Incorrect | 196 ms | 30908 KB | Output isn't correct |
98 | Incorrect | 200 ms | 31040 KB | Output isn't correct |
99 | Incorrect | 212 ms | 31052 KB | Output isn't correct |
100 | Incorrect | 195 ms | 31052 KB | Output isn't correct |