Pagini recente » Borderou de evaluare (job #1668647) | Borderou de evaluare (job #2834485) | Borderou de evaluare (job #2119872) | Borderou de evaluare (job #1401276) | Borderou de evaluare (job #1415487)
Borderou de evaluare (job #1415487)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:62:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
for (i=1;i<=ax;i++) printf("%d ",p);
^
user.cpp:65:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ",q);
^
user.cpp:66:55: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
for (i=1;i<=n-ax-1;i++) printf("%d ",p+sol);
^
user.cpp:68:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
for (i=1;i<=n-ax;i++) printf("%d ",p+sol);
^
user.cpp:12:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sir7.in","r",stdin);
^
user.cpp:13:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sir7.out","w",stdout);
^
user.cpp:14:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:17:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %lld %lld",&n,&smax,&smin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 116ms | 280kb | Incorect | 0 |
Punctaj total | 0 |