Pagini recente » Borderou de evaluare (job #3275786) | Borderou de evaluare (job #3184418) | Borderou de evaluare (job #288358) | Borderou de evaluare (job #2976559) | Borderou de evaluare (job #1944635)
Borderou de evaluare (job #1944635)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:19: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(r<b&&r<g||b<r&&b<g||g<b&&g<r)
^
user.cpp:27:39: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(r<b&&r<g||b<r&&b<g||g<b&&g<r)
^
user.cpp:6:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rgb.in","r",stdin);
^
user.cpp:7:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rgb.out","w",stdout);
^
user.cpp:8:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:11:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&r,&g,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | Incorect | 0 |
Punctaj total | 0 |