Submission #307256

#TimeUsernameProblemLanguageResultExecution timeMemory
307256vipghn2003Horses (IOI15_horses)C++14
17 / 100
29 ms8316 KiB
#include<bits/stdc++.h> using namespace std; long long init(int N,int X[],int Y[]) { long long cur=1,res=0; for(int i=0;i<N;i++) { cur=cur*X[i]; res=max(res,cur*Y[i]); } return res; } long long updateX(int pos,int val) { return 0; } long long updateY(int pos,int val) { return 0; } /* int main() { ios_base::sync_with_stdio(false); cin.tie(nullptr); }*/

Compilation message (stderr)

horses.cpp: In function 'long long int updateX(int, int)':
horses.cpp:16:23: warning: unused parameter 'pos' [-Wunused-parameter]
   16 | long long updateX(int pos,int val)
      |                   ~~~~^~~
horses.cpp:16:31: warning: unused parameter 'val' [-Wunused-parameter]
   16 | long long updateX(int pos,int val)
      |                           ~~~~^~~
horses.cpp: In function 'long long int updateY(int, int)':
horses.cpp:21:23: warning: unused parameter 'pos' [-Wunused-parameter]
   21 | long long updateY(int pos,int val)
      |                   ~~~~^~~
horses.cpp:21:31: warning: unused parameter 'val' [-Wunused-parameter]
   21 | long long updateY(int pos,int val)
      |                           ~~~~^~~
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...