Submission #1065824

#TimeUsernameProblemLanguageResultExecution timeMemory
1065824sunboiBikeparking (EGOI24_bikeparking)C++17
0 / 100
50 ms3924 KiB
#include <bits/stdc++.h> using namespace std; int main(){ int n; cin >> n; vector<int> x(n), y(n); for (int i = 0; i < n; i++) cin >> x[i]; for (int i = 0; i < n; i++) cin >> y[i]; int ans = x[0] * (n - 1) - x[0]; cout << ans << endl; }
#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...