Submission #330245

#TimeUsernameProblemLanguageResultExecution timeMemory
330245Habib_AssoevArranging Shoes (IOI19_shoes)C++14
Compilation error
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; } }

Compilation message (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 ++ ){
      |                         ^