Pagini recente » Borderou de evaluare (job #609668) | Borderou de evaluare (job #2654559) | Borderou de evaluare (job #1127377) | Borderou de evaluare (job #2332235) | Borderou de evaluare (job #1421246)
Borderou de evaluare (job #1421246)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:83:23: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(abs(aux) > mini2)
^
user.cpp:78:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(aux < 0)
^
user.cpp:89:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(aux > mini)
^
user.cpp:52:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("produs4.in", "r", stdin);
^
user.cpp:53:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("produs4.out", "w", stdout);
^
user.cpp:55:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:59:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:65:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &x, &y, &z);
^
user.cpp:77:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &aux);
^
user.cpp: In function ‘int minim(int, int, int)’:
user.cpp:17:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int maxim(int, int, int)’:
user.cpp:24:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int max2(int, int, int)’:
user.cpp:31:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 96ms | 444kb | Incorect | 0 |
Punctaj total | 0 |