Pagini recente » Borderou de evaluare (job #781875) | Borderou de evaluare (job #392731) | Borderou de evaluare (job #2769164) | Borderou de evaluare (job #2232340) | Borderou de evaluare (job #1517956)
Borderou de evaluare (job #1517956)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:62: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",(1LL*put(p,n*m)*put(k,(n-1)*(m-1)))%MOD);
^
user.cpp:21:38: 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);
^
user.cpp:22:40: 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);
^
user.cpp:24:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:27:38: 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 | 160ms | 276kb | OK | 100 |
Punctaj total | 100 |