제출 #1163422

#제출 시각아이디문제언어결과실행 시간메모리
1163422pearl333Ekoeko (COCI21_ekoeko)C++20
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h>
using namespace std;
#define int long long

signed main() {
	ios_base::sync_wtih_stdio(false);
	cin.tie(0); cout.tie(0);
	int n;
	string s;
	cin>>n>>s;
	cout<<(n/2)*(n/2);
	return 0;
}

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

Main.cpp: In function 'int main()':
Main.cpp:6:19: error: 'sync_wtih_stdio' is not a member of 'std::ios_base'
    6 |         ios_base::sync_wtih_stdio(false);
      |                   ^~~~~~~~~~~~~~~