Pagini recente » Borderou de evaluare (job #421805) | Borderou de evaluare (job #2210298) | Borderou de evaluare (job #2007493) | Borderou de evaluare (job #616019) | Borderou de evaluare (job #1541619)
Borderou de evaluare (job #1541619)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:20:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long long int *’ [-Wformat=]
fscanf(fin, "%I64d%I64d", &n, &k);
^
user.c:20:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long long int *’ [-Wformat=]
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:33: warning: unused variable ‘x’ [-Wunused-variable]
long long n, k, 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, "%I64d%I64d", &n, &k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 4176kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |