Pagini recente » Borderou de evaluare (job #2351674) | Borderou de evaluare (job #2152483) | Borderou de evaluare (job #524371) | Borderou de evaluare (job #1005371) | Borderou de evaluare (job #2270135)
Borderou de evaluare (job #2270135)
Raport evaluator
Compilare:
main.cpp: In function 'int cmmdc(int, int)':
main.cpp:11:11: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if(a&1==0 && b&1==0)
~^~~
main.cpp:11:21: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if(a&1==0 && b&1==0)
~^~~
main.cpp:13:11: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if(a&1==0)
~^~~
main.cpp:15:11: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if(b&1==0)
~^~~
main.cpp:19:18: warning: left operand of comma operator has no effect [-Wunused-value]
return (a, b-a);
^
main.cpp: In function 'int main()':
main.cpp:24:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cmmdc.in","r",stdin);
^
main.cpp:25:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cmmdc.out","w",stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Wrong Answer. | 0 |
| 2 | 2ms | 131kb | OKAY! | 10 |
| 3 | 2ms | 131kb | OKAY! | 10 |
| 4 | 2ms | 131kb | Wrong Answer. | 0 |
| 5 | 2ms | 131kb | OKAY! | 10 |
| 6 | 2ms | 131kb | Wrong Answer. | 0 |
| 7 | 2ms | 131kb | Wrong Answer. | 0 |
| 8 | 2ms | 131kb | Wrong Answer. | 0 |
| 9 | 2ms | 131kb | Wrong Answer. | 0 |
| 10 | 2ms | 131kb | OKAY! | 10 |
| Punctaj total | 40 |