Pagini recente » Borderou de evaluare (job #2178213) | Borderou de evaluare (job #2767589) | Borderou de evaluare (job #949871) | Borderou de evaluare (job #1098674) | Borderou de evaluare (job #1421365)
Borderou de evaluare (job #1421365)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:89:23: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(abs(aux) < maxi2)
^
user.cpp:95:23: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(abs(aux) > mini2)
^
user.cpp:84:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(aux < 0)
^
user.cpp:101: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:66: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:81: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 | 100ms | 436kb | Incorect | 0 |
Punctaj total | 0 |