답안 #687067

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
687067 2023-01-26T05:49:45 Z smartmonky Costinland (info1cup19_costinland) C++14
0 / 100
500 ms 46844 KB
#include <bits/stdc++.h>
 
#define ff first
#define ss second
#define pb push_back
#define all(x) x.begin(), x.end()
#define rall(x) x.rbegin(), x.rend()
#define int long long
 
using namespace std;
const int N = 1e6 + 1;
int a[3][N];
main(){
	ios_base::sync_with_stdio(0);
    cin.tie(0);
	int k;
	cin >> k;
	cout << 2 <<" " << k - 1<< endl;
	for(int i = 1; i < k; i++){
		cout << "X";
	}
	cout << endl;
	for(int i = 1; i < k - 1; i++){
		cout << "r";
	}
	cout << '.';
}

Compilation message

costinland.cpp:13:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
   13 | main(){
      | ^~~~
# 결과 실행 시간 메모리 Grader output
1 Incorrect 1 ms 212 KB The output does not fit the requirements
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Execution timed out 1048 ms 46844 KB Time limit exceeded
2 Halted 0 ms 0 KB -