QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#183653#7117. Quineliuzhenhao09#100 ✓0ms1372kbC++98232b2023-09-19 18:58:392023-09-19 18:58:39

Judging History

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

  • [2023-09-19 18:58:39]
  • 评测
  • 测评结果:100
  • 用时:0ms
  • 内存:1372kb
  • [2023-09-19 18:58:39]
  • 提交

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);
}

詳細信息

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