# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
381565 |
2021-03-25T09:59:06 Z |
Slavita |
Pastiri (COI20_pastiri) |
C++14 |
|
112 ms |
492 KB |
#include <bits/stdc++.h>
#define ve vector<int>
#define pb push_back
#define mp make_pair
#define fi first
#define se second
#define pi pair<int,int>
#define all(v) v.begin(),v.end()
#define si(v) (int)v.size()
#define en '\n'
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
const int N = 2e5 + 228;
const int big = 1e9;
int n, m;
int main(){
iostream::sync_with_stdio(false); cin.tie(0); ios_base::sync_with_stdio(false); cout.tie(0);
//freopen("input.txt","r",stdin);
//freopen("output.txt","w",stdout);
cin >> n >> m;
for (int i = 1; i <= n; i++){
int a, b;
cin >> a >> b;
//g[a].pb(b);
}
cout << m << en;
int kol = 1;
for (int i = 1; i <= m; i++){
kol += 2;
cout << kol << ' ';
}
return 0;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
112 ms |
364 KB |
Output is correct |
2 |
Incorrect |
108 ms |
492 KB |
Sheep 4883 not protected |
3 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
2 ms |
364 KB |
Sheep 857 not protected |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
364 KB |
Sheep 16 not protected |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
111 ms |
364 KB |
Sheep 54 not protected |
2 |
Halted |
0 ms |
0 KB |
- |