Pagini recente » Borderou de evaluare (job #2118002) | Borderou de evaluare (job #2412866) | Borderou de evaluare (job #587044) | Borderou de evaluare (job #435035) | Borderou de evaluare (job #2055130)
Borderou de evaluare (job #2055130)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:67: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%lld\n",max(v[1]*v[2]*v[n],v[n-1]*v[n-2]*v[n]));
^
user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("produs4.in","r",stdin);
^
user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("produs4.out","w",stdout);
^
user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:13:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:15:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 120ms | 400kb | Incorect | 0 |
Punctaj total | 0 |