Pagini recente » Borderou de evaluare (job #3124043) | Borderou de evaluare (job #2164678) | Borderou de evaluare (job #1548375) | Borderou de evaluare (job #2635390) | Borderou de evaluare (job #1628132)
Borderou de evaluare (job #1628132)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:37:60: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",(1LL*pow(fact[k],n/k+1)*F[k-n%k])%MOD);
^
user.cpp:28:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cabana.in","r",stdin);
^
user.cpp:29:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cabana.out","w",stdout);
^
user.cpp:34:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d\n",&t);t;t--){
^
user.cpp:35:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&n,&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 8028kb | Time limit exceeded. | 0 |
Punctaj total | 0 |