# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
517054 | aurims | Fire drill (LMIO18_sauga) | C++14 | 217 ms | 4304 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <iostream>
#include <vector>
#define debug cout << "alion\n"
#define MAX (int)10e3
#define pb push_back
using namespace std;
/* input with no loops in graph
0 7 1
2 2 3
0
3 4 5 6
0
1 7
0
0
*/
void test_print(vector<vector<int>> l)
{
for(int i = 0; i < l.size(); i++)
{
cout << "City " << i << ".\n";
for(int j = 0; j < l[i].size(); j++)
cout << l[i][j] << ' ';
cout << '\n';
}
}
void evacuate(vector<vector<int>> &l, int ind, vector<int> &e)
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |