Submission #1310666

#TimeUsernameProblemLanguageResultExecution timeMemory
1310666dimitri.shengelia동굴 (IOI13_cave)C++20
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> #include"cave.h using namespace std; int tryCombination ( int S[] ); void answer( int S[], int D[] ); void exploreCave( int n ) { int a[n], b[n]; fill ( a, a + n, 0 ); if ( tryCombination ( a ) != -1 ) { for ( int i = 0; i < n; i++ ) { a[i] = 0; b[i] = i; if ( tryCombination ( a ) == i ) { a[i] = 1; } } answer( a, b ); } else { for ( int i = 0; i < n; i++ ) { a[i] = 1; b[i] = tryCombination ( a ); a[i] = 0; } answer( a, b ); } return; }

Compilation message (stderr)

cave.cpp:2:9: warning: missing terminating " character
    2 | #include"cave.h
      |         ^
cave.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
    2 | #include"cave.h
      |         ^~~~~~~