Submission #1138705

#TimeUsernameProblemLanguageResultExecution timeMemory
1138705AzeTurk810Horses (IOI15_horses)C++20
Compilation error
0 ms0 KiB
#include "horses.h" #include "iostream" #include <bitsbits/stdcstdc++.h> using namespace std; int init(int N, int X[], int Y[]) { cin>>N; for(int i = 0; i < N;i++) { cin >> X[i]; } for(int i =0 ;i<N;i++) cin>>Y[i]; int ans=0,sum=1; for(int i =0; i < N;i++) ans=max(ans,sum*X[i]*Y[i]),sum*=X[i]; return ans; } int updateX(int pos, int val) { return 0; } int updateY(int pos, int val) { return 0; }

Compilation message (stderr)

horses.cpp:3:10: fatal error: bitsbits/stdcstdc++.h: No such file or directory
    3 | #include <bitsbits/stdcstdc++.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.