Pagini recente » Borderou de evaluare (job #2684409) | Borderou de evaluare (job #2500589) | Borderou de evaluare (job #300345) | Borderou de evaluare (job #1580284) | Borderou de evaluare (job #1541642)
Borderou de evaluare (job #1541642)
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:48:5: 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:12:27: warning: unused variable ‘x’ [-Wunused-variable]
long long fact1, fact2, x, rez1, rez2;
^
user.c:13: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 | Depăşit | 8100kb | Time limit exceeded. | 0 |
Punctaj total | 0 |