Pagini recente » Borderou de evaluare (job #1504525) | Borderou de evaluare (job #3192235) | Borderou de evaluare (job #2393334) | Borderou de evaluare (job #458959) | Borderou de evaluare (job #1785293)
Borderou de evaluare (job #1785293)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:49:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long long unsigned int *’ [-Wformat=]
fscanf(fin, "%d %d", &N, &K);
^
user.c:49:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long long unsigned int *’ [-Wformat=]
user.c:53:12: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=]
fprintf(fout, "%d\n",(facts[K] * ModuloInverse(facts[K-N-2], MOD)) % MOD);
^
user.c:74:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=]
fprintf(fout, "%d\n",acc);
^
user.c:45:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &T);
^
user.c:49:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d", &N, &K);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 364ms | 4156kb | Incorect | 0 |
Punctaj total | 0 |