Pagini recente » Borderou de evaluare (job #1127473) | Borderou de evaluare (job #1408729) | Borderou de evaluare (job #1938620) | Borderou de evaluare (job #1827823) | Borderou de evaluare (job #1517736)
Borderou de evaluare (job #1517736)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
if(n==1) scanf("%I64d",&l[1]), printf("%I64d\n",l[1]);
^
user.cpp:18:55: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if(n==1) scanf("%I64d",&l[1]), printf("%I64d\n",l[1]);
^
user.cpp:22:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d",&l[1]);
^
user.cpp:24:73: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d %I64d\n",std::min(l[1]/i,i),std::max(l[1]/i,i));
^
user.cpp:24:73: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
user.cpp:30:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d",&l[i]);
^
user.cpp:46:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
for(i=1;i<=n;printf("%I64d ",b[i]),i++);
^
user.cpp:12:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("streetcrypto.in","r",stdin);
^
user.cpp:13:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("streetcrypto.out","w",stdout);
^
user.cpp:14:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:17:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:18:56: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if(n==1) scanf("%I64d",&l[1]), printf("%I64d\n",l[1]);
^
user.cpp:22:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d",&l[1]);
^
user.cpp:30:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d",&l[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 284kb | Time limit exceeded. | 0 |
Punctaj total | 0 |