QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#183658#7117. Quinechangbijie#100 ✓0ms1416kbC++98232b2023-09-19 19:00:322023-09-19 19:00:32

Judging History

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

  • [2023-09-19 19:00:32]
  • 评测
  • 测评结果:100
  • 用时:0ms
  • 内存:1416kb
  • [2023-09-19 19:00:32]
  • 提交

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: 1416kb

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