-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmlaserp.cpp
More file actions
45 lines (41 loc) · 734 Bytes
/
mlaserp.cpp
File metadata and controls
45 lines (41 loc) · 734 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// Created by rishabhstr ツ
#include <iostream>
#include <cstring> //memset
#include <algorithm>
#include <bitset>
#include <string>
#include <vector>
#include <utility>
#include <cstdio>
#include <queue>
#include <cmath>
#include <list>
#include <set>
#include <map>
using namespace std;
int mat[105][105];
int bfs(int x, int y) {
int res = 0;
for (int i = 0; i < w; ++i) {
for (int j = 0; j < h; ++j) {
cin >> mat[i][j];
}
}
return res;
}
int main() {
#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
#endif
std::ios::sync_with_stdio(false);
cin.tie(NULL);
int w, h;
cin >> w >> h;
for (int i = 0; i < w; ++i) {
for (int j = 0; j < h; ++j) {
cin >> mat[i][j];
}
}
cout << bfs(w, h);
return 0;
}