제출 #330245

#제출 시각아이디문제언어결과실행 시간메모리
330245Habib_AssoevArranging Shoes (IOI19_shoes)C++14
컴파일 에러
0 ms0 KiB
# include<bits/stdc++.h>
#define in freopen ("herding.in", "r", stdin);
#define out freopen("herding.out", "w", stdout);
#define ll long long
#define pb push_back
#define pf push_front
#define speed ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0)
using namespace std ;
long long const N = 1e6 + 7 ;
long long N1 = 1e9 + 7 ;
int main( ){
    // in out
    speed ;
    ll TJK = 1 ;
    //cin >> TJK ;
    while( TJK -- ){
        ll n ;
      	cin >> n ;
      	ll a[n];
      	for( itn i = 0 ; i < n ; i ++ ){
        	cin >> a[i] ;
        }
      	cout << 0 << endl;
    }
}

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

shoes.cpp: In function 'int main()':
shoes.cpp:20:13: error: 'itn' was not declared in this scope; did you mean 'in'?
   20 |        for( itn i = 0 ; i < n ; i ++ ){
      |             ^~~
      |             in
shoes.cpp:20:25: error: 'i' was not declared in this scope
   20 |        for( itn i = 0 ; i < n ; i ++ ){
      |                         ^