Submission #432888

#TimeUsernameProblemLanguageResultExecution timeMemory
432888REALITYNBGondola (IOI14_gondola)C++17
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> #include "Gondola.h" using namespace std; int valid(int n ,int* a){ set<int> el ; for(int i=0;i<n;i++) el.insert(a[i]) ; if(el.size()!=n) return 0 ; bool flg= 0 ; for(int i=0;i<n;i++){ if(a[i]>n) continue; for(int j=i;j<n+i;j++){ if(a[j%n]>n) continue ; if(a[j%n]==((a[i]+j-i)<=n?a[i]+j-i:a[i]+j-i-n)) continue ; return 0; } break ; } return 1 ; } int replacementSeq(int n , int* a , int* ans){ } int countReplacement(int n,int* a){ }

Compilation message (stderr)

gondola.cpp:2:10: fatal error: Gondola.h: No such file or directory
    2 | #include "Gondola.h"
      |          ^~~~~~~~~~~
compilation terminated.