Pagini recente » Borderou de evaluare (job #2534868) | Borderou de evaluare (job #1787312) | Borderou de evaluare (job #1118135) | Borderou de evaluare (job #2549255) | Borderou de evaluare (job #1536576)
Borderou de evaluare (job #1536576)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:42:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d",&t);
^
user.cpp:45:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d%I64d",&n,&k);
^
user.cpp:45:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:46:59: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d\n",log(fact[k],n/k+1)*supra(k-(n%k)));
^
user.cpp:40:21: warning: unused variable ‘i’ [-Wunused-variable]
long long t,n,k,i,h;
^
user.cpp:38: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:39: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:42:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d",&t);
^
user.cpp:45:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d%I64d",&n,&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 696ms | 8088kb | Incorect | 0 |
Punctaj total | 0 |