Borderou de evaluare (job #2314706)

Utilizator andrei20003Ionescu Andrei andrei20003 Data 8 ianuarie 2019 23:11:21
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:23:73: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%d\n", (putere(p, n*m)*1LL*putere(k, (n-1)*(m-1)))%10007); ^ main.cpp:18:37: 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:19:39: 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:20:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ main.cpp:22: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
1217ms655kbOK100
Punctaj total100

Ceva nu functioneaza?