ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#213039 | #3823. 艾特扣德 | 18112606231 | Compile Error | / | / | C++11 | 345b | 2024-11-03 12:58:50 | 2024-11-03 13:02:59 |
answer
#include<bits/stdc++.h>
#define int long long
#define MOD 998244353
using namespace std;
int t,n,a[1000001];
signed main(){
a[0]=1;
for(int i=1;i<=n;i++)
{
a[i]=a[i-1]*i%MOD;
}
scanf("%lld",&t);
while(t--)
{
scanf("%lld %lld",&n,&m);
printf("%lld\n",a[n]);
}
return 0;
}
Details
answer.code: In function 'int main()': answer.code:15:31: error: 'm' was not declared in this scope scanf("%lld %lld",&n,&m);\x0d ^ answer.code:12:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&t);\x0d ^