Pagini recente » Borderou de evaluare (job #675130) | Borderou de evaluare (job #2370114) | Borderou de evaluare (job #759769) | Borderou de evaluare (job #2872197) | Borderou de evaluare (job #1517727)
Borderou de evaluare (job #1517727)
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:21:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d",&l[i]);
^
user.cpp:37: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:21: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 | 8ms | 288kb | Incorect | 0 |
Punctaj total | 0 |