Pagini recente » Borderou de evaluare (job #439985) | Borderou de evaluare (job #2613710) | Borderou de evaluare (job #2768861) | Borderou de evaluare (job #2476648) | Borderou de evaluare (job #2314706)
Borderou de evaluare (job #2314706)
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 |
1 | 217ms | 655kb | OK | 100 |
Punctaj total | 100 |