QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#81825#5574. Julienne the Decklc174#WA 1ms1748kbC++14285b2023-02-26 14:21:562023-02-26 14:21:58

Judging History

This is the latest submission verdict.

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-02-26 14:21:58]
  • Judged
  • Verdict: WA
  • Time: 1ms
  • Memory: 1748kb
  • [2023-02-26 14:21:56]
  • Submitted

answer


//#pragma GCC optimize(2)
#include<cstdio>
using namespace std;
inline int read(){
	int x,ch;while((ch=getchar())<48||57<ch);
	x=ch^48;while(47<(ch=getchar())&&ch<58)x=x*10+(ch^48);
	return x;
}

int n;

int main(){
	scanf("%d",&n);
	printf("%lld",2ll*n%998244353ll);
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 1748kb

input:

1

output:

2

result:

wrong answer 1st numbers differ - expected: '1', found: '2'