QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#183653#7117. Quineliuzhenhao09#100 ✓0ms1372kbC++98232b2023-09-19 18:58:392023-09-19 18:58:39

Judging History

This is the latest submission verdict.

  • [2023-09-19 18:58:39]
  • Judged
  • Verdict: 100
  • Time: 0ms
  • Memory: 1372kb
  • [2023-09-19 18:58:39]
  • Submitted

answer

#include <cstdio>
using namespace std;
int main()
{
 char ch[]="#include <cstdio>%cusing namespace std;%cint main()%c{%c char ch[]=%c%s%c;%c printf(ch,10,10,10,10,34,ch,34,10,10);%c}";
 printf(ch,10,10,10,10,34,ch,34,10,10);
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:


output:

#include <cstdio>
using namespace std;
int main()
{
 char ch[]="#include <cstdio>%cusing namespace std;%cint main()%c{%c char ch[]=%c%s%c;%c printf(ch,10,10,10,10,34,ch,34,10,10);%c}";
 printf(ch,10,10,10,10,34,ch,34,10,10);
}

result:

ok 7 lines