Pagini recente » Borderou de evaluare (job #1973454) | Borderou de evaluare (job #1111707) | Borderou de evaluare (job #1700069) | Borderou de evaluare (job #360268) | Borderou de evaluare (job #2630698)
Borderou de evaluare (job #2630698)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:28:91: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n", (1LL * lgput(P, N + M - 1)) * lgput(K * P, (N - 1) * (M - 1)) % MOD);
^
main.cpp:21:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("matrice5.in", "r", stdin);
^
main.cpp:22:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("matrice5.out", "w", stdout);
^
main.cpp:24:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
main.cpp:26:42: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &N, &M, &P, &K);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 277ms | 655kb | OK | 100 |
Punctaj total | 100 |