/ SeriousOJ /

Record Detail

Wrong Answer


  
# Status Time Cost Memory Cost
#1 Accepted 1ms 744.0 KiB
#2 Wrong Answer 8ms 1.156 MiB
#3 Wrong Answer 8ms 1.047 MiB
#4 Wrong Answer 9ms 1.195 MiB
#5 Wrong Answer 9ms 1.031 MiB
#6 Wrong Answer 8ms 1.184 MiB
#7 Wrong Answer 8ms 1.16 MiB
#8 Wrong Answer 9ms 1.141 MiB
#9 Wrong Answer 17ms 1.848 MiB
#10 Wrong Answer 8ms 1.023 MiB

Code

#include <bits/stdc++.h>
using namespace std;

#define ll long long
#define endl '\n'

int32_t main()
{   
    ios_base::sync_with_stdio(0);
    cin.tie(0);
    int t; cin >> t;
    while(t--) {
        ll n ; cin >> n;
        vector<int>v(3);
        v[0] = 6;
        v[1] = 10;
        v[2] = 15;
        int var = 3;
        for (int i = 1; i <= n-3; i++) {
            v.push_back(6*var);
            var++;
        }

        for (auto x : v) {
            cout << x << " ";
        }
        cout << endl;

    }
    return 0;
} 

Information

Submit By
Type
Submission
Problem
P1070 Strange Sequences
Contest
Brain Booster #4
Language
C++20 (G++ 13.2.0)
Submit At
2024-07-14 18:41:07
Judged At
2024-10-03 13:35:05
Judged By
Score
10
Total Time
17ms
Peak Memory
1.848 MiB