# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
781649 |
2023-07-13T09:11:48 Z |
kebine |
Naboj (COCI22_naboj) |
C++17 |
|
54 ms |
3688 KB |
#include <bits/stdc++.h>
#define int long long
#define fi first
#define se second
#define keish ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0)
using namespace std;
int n, m, a, b;
signed main(){
keish;
cin >> n >> m;
if(m == n - 1){
vector<int> v;
for(int i = 0; i < m; i++){
cin >> a >> b;
v.push_back(a);
}
cout << m << '\n';
for(auto x : v) cout << x << " " << 1 << '\n';
}
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
212 KB |
Unexpected end of file - int32 expected |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
54 ms |
3688 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
212 KB |
Unexpected end of file - int32 expected |
2 |
Halted |
0 ms |
0 KB |
- |