Pagini recente » Borderou de evaluare (job #950171) | Borderou de evaluare (job #1182367) | Borderou de evaluare (job #1271126) | Borderou de evaluare (job #2979296) | Borderou de evaluare (job #1548168)
Borderou de evaluare (job #1548168)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:61: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",putere(fact[k],n/k)*aranjamente(k,n%k));
^
user.cpp:26:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cabana.in","r",stdin);
^
user.cpp:27:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cabana.out","w",stdout);
^
user.cpp:33:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:35:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 444ms | 4160kb | Incorect | 0 |
Punctaj total | 0 |