Submission #757949

# Submission time Handle Problem Language Result Execution time Memory
757949 2023-06-14T02:44:44 Z Adrian_Soriaga Fruits (NOI22_fruits) C++14
0 / 100
160 ms 6140 KB
#include <bits/stdc++.h>
using namespace std;
#define ll long long
int main(){
    int x,n; cin>>n;
    ll ans =0;
    vector<int>rows, price;
    for (int i =0;i<n;i++){
        cin>>x; rows.push_back(x);
    }
    for (int i =0;i<n;i++){
        cin>>x; price.push_back(x);
    }
    for (int i =0; i<n;i++){
        ans += price[i]; cout<<ans<<" ";
    }
    }
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 160 ms 6140 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -