Submission #385711

#TimeUsernameProblemLanguageResultExecution timeMemory
385711Pichon5Cave (IOI13_cave)C++17
Compilation error
0 ms0 KiB
#include "cave.h" #include<bits/stdc++.h> #define lcm(a,b) (a/__gcd(a,b))*b #define fast ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0); #define ll long long int #define vi vector<int> #define vll vector<ll> #define pb push_back #define F first #define S second //"\n" using namespace std; void exploreCave(int N) { /* ... */ int D[N]; int S[N]; for(int i=0;i<N;i++){ D[i]=i; } for(int i=0;i<N;i++){ if(tryCombination(S)==i){ S[i]=1; } } answer(S,D); //tryCombination(intS[]); }

Compilation message (stderr)

cave.cpp:25:16: error: stray '\315' in program
   25 |     answer(S,D);
      |                ^
cave.cpp:25:17: error: stray '\276' in program
   25 |     answer(S,D);
      |                 ^
cave.cpp: In function 'void exploreCave(int)':
cave.cpp:25:16: error: expected ';' before '}' token
   25 |     answer(S,D);
      |                ^
      |                ;
......
   28 | }
      | ~