Pagini recente » Borderou de evaluare (job #1718382) | Borderou de evaluare (job #1612841) | Borderou de evaluare (job #341442) | Cod sursa (job #722012) | Borderou de evaluare (job #2726059)
Borderou de evaluare (job #2726059)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:22:85: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
fprintf(g, "%d\n", (((2LL * fact[n / 2 - 1]) % MOD) * fact[n / 2 - 1]) % MOD);
^
main.cpp:25:81: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
fprintf(g, "%d\n", (((4LL * fact[n / 2]) % MOD) * fact[n / 2 - 1]) % MOD);
^
main.cpp:15:26: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d\n", &n);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Valoare incorecta cerinta 3! | 8 |
| 2 | 2ms | 131kb | Valoare incorecta cerinta 3! | 8 |
| 3 | 2ms | 131kb | Valoare incorecta cerinta 3! | 8 |
| 4 | 13ms | 405kb | Valoare corecta cerinta 1! | 2 |
| 5 | 17ms | 524kb | Try again ! | 0 |
| 6 | 32ms | 917kb | Try again ! | 0 |
| 7 | 65ms | 1835kb | Try again ! | 0 |
| 8 | 119ms | 2674kb | Try again ! | 0 |
| 9 | 126ms | 3670kb | Try again ! | 0 |
| 10 | 157ms | 4456kb | Try again ! | 0 |
| Punctaj total | 26 |