QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#103490#5671. Programmable Viruscardinal_city#AC ✓2ms3572kbC++172.8kb2023-05-06 06:57:072023-05-06 06:57:08

Judging History

你现在查看的是最新测评结果

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-05-06 06:57:08]
  • 评测
  • 测评结果:AC
  • 用时:2ms
  • 内存:3572kb
  • [2023-05-06 06:57:07]
  • 提交

answer

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

typedef long long ll;
typedef long double ld;
typedef vector<int> vi;
typedef pair<int, int> pii;
#define all(x) (x).begin(), (x).end()
#define sz(x) (int)x.size();
#define rep(i,j,k) for (int i = j; i < (k); i++)
#define in(mp, v) (mp.find(v) != mp.end())
#define smx(a, b) a = max(a, b)
#define smn(a, b) a = min(a, b)
#define pb push_back
#define endl '\n'

const ll MOD = 1e9 + 7;
const ld EPS = 1e-9;

int main() {
    cin.tie(0)->sync_with_stdio(0);

    int k; cin >> k;
    switch(k) {
        case 1:
            cout << "UCCAGGUACUGUUGCGCGCCC\n";
            break;
        case 2:
            cout << "UGCAGGUACACGAGGUACUGUUGAAGGUACACGUGCUGAUGUUCCUGCUGUACGUGCAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGUGUUGUUGUUGUUGUUGUUGUUGUUGUUGUUGAGCGCCC\n";
            break;
        case 3:
            cout << "UGCAGGACGACGUCCAGGUACACGUGCACGUGCUGAUGAUGUACGACGACGUGCUGAUGCAGGUACACGAGGUACUGUUGAUGUACGAGGUGAUGAUGAUGCUGAAGGUACACGAGGUACUGUUGAUGUACGGCGCCCUGUUGAUGAAGGUACUGAUGCACGAGGUACUGAUGCACGAGGUACUGAUACUACACGAGGUACUGAUGCACGAGGUACUGAUGCACGAGGUACUGAUACUACACGAGGUACUGAUGCACGAGGUACUGAUGCACGAGGUACUGAUACUACACGUGUUGUUGUUGUUGUUGUUGUUGUUGUUGAAGGUACUGAUGCACGUGUUGAAGGUACACGUGCUGAAGGUACACGUGCUGAAGGUACACGUACUACUGAAGGUACACGUGCUGAUGUUGUUGUUGUACGAGGUACUGAUGCACGUGUUGAUGAUGU\n";
            break;
        case 4:
            cout << "UGCAGGUACACGUCCUGCUGUUGCUGAUGCUGAAGGACGACGUGCUGAUGAUACAGGUACACGACGUACACGUGUACGAGGACGUGUUGAAGGACGUGUUGAUGAUGAUGUACGAGGACGUGUUGAUGAUACACGUACAGGUGAUACUACAGGUACUACUACUACAGGACGACGGCGCCCUGUACGACGUGCGCGCCCUGUACGACGUGCGCGCCCUGUUGAAGGUACUACUACUACAGGUACUACUACUACAGGACGACGGCGCCCUGUACGACGUGCGCGCCCUGUACGACGUGCGCGCCCUGUACGACGUGCGCGCCC\n";
            break;
        case 5:
            cout << "UGCAGGUACACGUCCUGCUGUUGAAGGUACUACUACUACUACAGGACGGCGCCCUGUACGUGCGCGCCCUGUACGUGCGCGCCC\n";
            break;
        case 6:
            cout << "UGCAGGACGACGUCCAGGUACACGUGCACGUGCUGAUGAUGUACGACGACGUGCUGAUGCAGGUACACGAGGUACUGUUGAUGUACGAGGUGAUGAUGAUGAAGGAGGUACUGUGCGCCCUGUACGACGACGACGACGACGUGCAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGUGUUGUUGUUGUUGUUGUUGUUGUUGUUGUUGAGCGCCCUGUUGAACGACGAGGUACUGUACGAGGUACUGUUGAUGAUGAUGAAGGUACACGACGACGUGCACGUGCUGAUGAUGAUGAUGUACGACGACGAGGUACUGAUGAUGAUGCACGACGACGUGUUGAUGAUGAAGGUACUGAUGCACGAGGUACUGAUGCACGAGGUACUGAUACUACACGAGGUACUGAUGCACGAGGUACUGAUGCACGAGGUACUGAUACUACACGAGGUACUGAUGCACGAGGUACUGAUGCACGAGGUACUGAUACUACACGUGUUGUUGUUGUUGUUGUUGUUGUUGUUGAAGGUACUGAUGCACGUGUUGAAGGUACACGUGCUGAAGGUACACGUGCUGAAGGUACACGUACUACUGAAGGUACACGUGCUGAUGUUGUUGUUGUACGAGGUACUGAUGCACGUGUUGAUGAUGU\n";
            break;
    }
}

詳細信息

Test #1:

score: 100
Accepted
time: 2ms
memory: 3572kb

input:

1

output:

UCCAGGUACUGUUGCGCGCCC

result:

ok correct

Test #2:

score: 0
Accepted
time: 1ms
memory: 3396kb

input:

2

output:

UGCAGGUACACGAGGUACUGUUGAAGGUACACGUGCUGAUGUUCCUGCUGUACGUGCAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGUGUUGUUGUUGUUGUUGUUGUUGUUGUUGUUGAGCGCCC

result:

ok correct

Test #3:

score: 0
Accepted
time: 2ms
memory: 3412kb

input:

3

output:

UGCAGGACGACGUCCAGGUACACGUGCACGUGCUGAUGAUGUACGACGACGUGCUGAUGCAGGUACACGAGGUACUGUUGAUGUACGAGGUGAUGAUGAUGCUGAAGGUACACGAGGUACUGUUGAUGUACGGCGCCCUGUUGAUGAAGGUACUGAUGCACGAGGUACUGAUGCACGAGGUACUGAUACUACACGAGGUACUGAUGCACGAGGUACUGAUGCACGAGGUACUGAUACUACACGAGGUACUGAUGCACGAGGUACUGAUGCACGAGGUACUGAUACUACACGUGUUGUUGU...

result:

ok correct

Test #4:

score: 0
Accepted
time: 2ms
memory: 3572kb

input:

6

output:

UGCAGGACGACGUCCAGGUACACGUGCACGUGCUGAUGAUGUACGACGACGUGCUGAUGCAGGUACACGAGGUACUGUUGAUGUACGAGGUGAUGAUGAUGAAGGAGGUACUGUGCGCCCUGUACGACGACGACGACGACGUGCAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGUGUUGU...

result:

ok correct

Test #5:

score: 0
Accepted
time: 2ms
memory: 3344kb

input:

1

output:

UCCAGGUACUGUUGCGCGCCC

result:

ok correct

Test #6:

score: 0
Accepted
time: 2ms
memory: 3308kb

input:

2

output:

UGCAGGUACACGAGGUACUGUUGAAGGUACACGUGCUGAUGUUCCUGCUGUACGUGCAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGUGUUGUUGUUGUUGUUGUUGUUGUUGUUGUUGAGCGCCC

result:

ok correct

Test #7:

score: 0
Accepted
time: 2ms
memory: 3340kb

input:

3

output:

UGCAGGACGACGUCCAGGUACACGUGCACGUGCUGAUGAUGUACGACGACGUGCUGAUGCAGGUACACGAGGUACUGUUGAUGUACGAGGUGAUGAUGAUGCUGAAGGUACACGAGGUACUGUUGAUGUACGGCGCCCUGUUGAUGAAGGUACUGAUGCACGAGGUACUGAUGCACGAGGUACUGAUACUACACGAGGUACUGAUGCACGAGGUACUGAUGCACGAGGUACUGAUACUACACGAGGUACUGAUGCACGAGGUACUGAUGCACGAGGUACUGAUACUACACGUGUUGUUGU...

result:

ok correct

Test #8:

score: 0
Accepted
time: 0ms
memory: 3404kb

input:

4

output:

UGCAGGUACACGUCCUGCUGUUGCUGAUGCUGAAGGACGACGUGCUGAUGAUACAGGUACACGACGUACACGUGUACGAGGACGUGUUGAAGGACGUGUUGAUGAUGAUGUACGAGGACGUGUUGAUGAUACACGUACAGGUGAUACUACAGGUACUACUACUACAGGACGACGGCGCCCUGUACGACGUGCGCGCCCUGUACGACGUGCGCGCCCUGUUGAAGGUACUACUACUACAGGUACUACUACUACAGGACGACGGCGCCCUGUACGACGUGCGCGCCCUGUACGACGUGCGCG...

result:

ok correct

Test #9:

score: 0
Accepted
time: 0ms
memory: 3340kb

input:

5

output:

UGCAGGUACACGUCCUGCUGUUGAAGGUACUACUACUACUACAGGACGGCGCCCUGUACGUGCGCGCCCUGUACGUGCGCGCCC

result:

ok correct

Test #10:

score: 0
Accepted
time: 1ms
memory: 3408kb

input:

6

output:

UGCAGGACGACGUCCAGGUACACGUGCACGUGCUGAUGAUGUACGACGACGUGCUGAUGCAGGUACACGAGGUACUGUUGAUGUACGAGGUGAUGAUGAUGAAGGAGGUACUGUGCGCCCUGUACGACGACGACGACGACGUGCAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGUGUUGU...

result:

ok correct