Borderou de evaluare (job #2630698)

Utilizator Senth30Denis-Florin Cringanu Senth30 Data 26 iunie 2020 19:26:17
Problema Matrice5 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

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
1277ms655kbOK100
Punctaj total100

Ceva nu functioneaza?