QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#236559#2810. SpeedrunAhmed57#0 0ms0kbC++23575b2023-11-04 06:05:532023-11-04 06:05:54

Judging History

你现在查看的是测评时间为 2023-11-04 06:05:54 的历史记录

  • [2024-06-05 09:15:37]
  • 管理员手动重测本题所有提交记录
  • 测评结果:0
  • 用时:3ms
  • 内存:3856kb
  • [2024-05-20 18:53:29]
  • 管理员手动重测本题所有提交记录
  • 测评结果:0
  • 用时:7ms
  • 内存:3860kb
  • [2023-11-04 06:05:54]
  • 评测
  • 测评结果:0
  • 用时:0ms
  • 内存:0kb
  • [2023-11-04 06:05:53]
  • 提交

speedrun

#include <bits/stdc++.h>
#include "speedrun.h"
//#include "grader.cpp"
using namespace std;


void assignHints(int subtask,int N,int A[],int B[]){
    setHintLen(N);
    for(int i = 1;i<N;i++){
        setHint(A[i],B[i],1);
        setHint(B[i],A[i],1);
    }
}
void dfs(int i,int pr,int n){
    for(int j = 1;j<=n;j++){
        if(j==pr)continue;
        if(getHint(j)){
            goTo(j);
            dfs(j,i,n);
            goTo(i);
        }
    }
}
void speedrun(int subtask, int N, int start){
    int n =getLength();
    dfs(start,0,n);
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Interactor1 Dangerous Syscalls

Test #1:

score: 0
Interactor1 Dangerous Syscalls

input:


output:


input:


output:


result:


Subtask #2:

score: 0
Interactor1 Dangerous Syscalls

Test #5:

score: 0
Interactor1 Dangerous Syscalls

input:


output:


input:


output:


result:


Subtask #3:

score: 0
Interactor1 Dangerous Syscalls

Test #7:

score: 0
Interactor1 Dangerous Syscalls

input:


output:


input:


output:


result:


Subtask #4:

score: 0
Interactor1 Dangerous Syscalls

Test #10:

score: 0
Interactor1 Dangerous Syscalls

input:


output:


input:


output:


result:


Subtask #5:

score: 0
Interactor1 Dangerous Syscalls

Test #16:

score: 0
Interactor1 Dangerous Syscalls

input:


output:


input:


output:


result: