제출 #202583

#제출 시각아이디문제언어결과실행 시간메모리
202583detaomegaSob (COCI19_sob)C++14
0 / 110
77 ms376 KiB
#include <bits/stdc++.h>
using namespace std;
#define X first
#define Y second
#define rep(i,a,b) for(int i=a;i<=b;i++)
#define IOS ios::sync_with_stdio(0);cin.tie(0);
#define de(x,y) cout<<#x<<" :"<<x<<y;
#define int long long
#define SZ(xx) ((int)xx.size())
#define lowbit(xx) (xx&(-xx))
#define pb push_back
typedef pair<int,int> pii;

const int maxn = 4e5+5;



main() {
	IOS
	int n, m;
	cin >> n >> m;
	for(int i=0; i<n; i++) {
		for(int j=n; j<m+n; j++) {
			if((i and j) == i) {
				cout << i << " " << j << "\n"; 
				break;
			}
		}
	}




}

컴파일 시 표준 에러 (stderr) 메시지

sob.cpp:18:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
 main() {
      ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...