Pagini recente » Borderou de evaluare (job #109061) | Borderou de evaluare (job #2828461) | Borderou de evaluare (job #2617331) | Borderou de evaluare (job #3172485) | Borderou de evaluare (job #1541629)
Borderou de evaluare (job #1541629)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:25:7: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fout, "%I64d\n", fact1);
^
user.c:51:7: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fout, "%I64d\n", (rez1*rez2)%MOD);
^
user.c:11:27: warning: unused variable ‘x’ [-Wunused-variable]
long long fact1, fact2, x, rez1, rez2;
^
user.c:12:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &p);
^
user.c:20:11: 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 | 504ms | 8104kb | Incorect | 0 |
Punctaj total | 0 |