QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#132339#5660. Simplified Genome Translationwillow#Compile Error//C++141.1kb2023-07-29 16:42:222023-07-29 16:42:25

Judging History

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

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-07-29 16:42:25]
  • 评测
  • [2023-07-29 16:42:22]
  • 提交

answer

++ val[p]
while(val[p]) {
	-- val[p]
	++ p
	while(val[p]) {
		-- val[p]
	}
	-- p
	while(val[p]) {
		-- val[p]
		++ p
		++ val[p]
		-- p
	}
	in >> val[p]
	++ val[p]
}
++ p
++ val[p]
while(val[p]) {
	-- val[p]
	-- p
	++ val[p]
	++ p
	while(val[p]) {
		-- val[p]
		-- p
		-- val[p]
		++ p
		while(val[p]) {
			-- val[p]
			-- p
			++ val[p]
			++ p
			while(val[p]) {
				-- val[p]
				-- p
				-- val[p]
				++ p
				while(val[p]) {
					-- val[p]
					-- p
					++ val[p]
					++ p
					while(val[p]) {
						-- val[p]
						-- p
						-- val[p]
						++ p
						while(val[p]) {
							-- val[p]
							-- p
							++ val[p]
							++ p
							while(val[p]) {
								-- val[p]
								-- p
								-- val[p]
								++ p
								while(val[p]) {
									-- val[p]
									-- p
									++ val[p]
									++ p
									while(val[p]) {
										-- val[p]
										-- p
										-- val[p]
										++ p
									}
								}
							}
						}
					}
				}
			}
		}
	}
}
-- p
out << val[p]
return

Details

answer.code:1:1: error: expected unqualified-id before ‘++’ token
    1 | ++ val[p]
      | ^~
answer.code:18:1: error: expected unqualified-id before ‘++’ token
   18 | ++ p
      | ^~
answer.code:80:1: error: expected unqualified-id before ‘--’ token
   80 | -- p
      | ^~