Pagini recente » Borderou de evaluare (job #2973402) | Borderou de evaluare (job #1284676) | Borderou de evaluare (job #1515613) | Borderou de evaluare (job #2449104) | Borderou de evaluare (job #1628128)
Borderou de evaluare (job #1628128)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:42: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:34: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:35: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:40: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:41: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 | 5828kb | Time limit exceeded. | 0 |
Punctaj total | 0 |