QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#699343#7117. QuineChenHanzhang100 ✓0ms3724kbC++14260b2024-11-02 08:27:222024-11-02 08:27:22

Judging History

This is the latest submission verdict.

  • [2024-11-02 08:27:22]
  • Judged
  • Verdict: 100
  • Time: 0ms
  • Memory: 3724kb
  • [2024-11-02 08:27:22]
  • Submitted

answer

#include<bits/stdc++.h>
using namespace std;
int main(){
  char*s="#include<bits/stdc++.h>%cusing namespace std;%cint main(){%c  char*s=%c%s%c;%c  printf(s,10,10,10,34,s,34,10,10,10);%c  return 0;%c}";
  printf(s,10,10,10,34,s,34,10,10,10);
  return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3724kb

input:


output:

#include<bits/stdc++.h>
using namespace std;
int main(){
  char*s="#include<bits/stdc++.h>%cusing namespace std;%cint main(){%c  char*s=%c%s%c;%c  printf(s,10,10,10,34,s,34,10,10,10);%c  return 0;%c}";
  printf(s,10,10,10,34,s,34,10,10,10);
  return 0;
}

result:

ok 7 lines