Pagini recente » Borderou de evaluare (job #1995765) | Borderou de evaluare (job #2475569) | Borderou de evaluare (job #1080950) | Borderou de evaluare (job #561741) | Borderou de evaluare (job #1944579)
Borderou de evaluare (job #1944579)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:19: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(r<b&&r<g||b<r&&b<g||g<b&&g<r)
^
user.cpp:26: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 | 268kb | Incorect | 0 |
Punctaj total | 0 |