Pagini recente » Borderou de evaluare (job #884999) | Borderou de evaluare (job #167146) | Borderou de evaluare (job #1751582) | Borderou de evaluare (job #2752151) | Borderou de evaluare (job #2248680)
Borderou de evaluare (job #2248680)
Raport evaluator
Compilare:
user.cpp: In function ‘int check(double, double)’:
user.cpp:14:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(right>5) right = 5.0; right_open = 0;
^~
user.cpp:14:30: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
if(right>5) right = 5.0; right_open = 0;
^~~~~~~~~~
user.cpp:17:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if( left == right )
^
user.cpp: In function ‘int main()’:
user.cpp:27:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("unter.in","r",stdin);
^
user.cpp:28:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("unter.out","w",stdout);
^
user.cpp:32:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&T);
^
user.cpp:35:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&D);
^
user.cpp:43:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf",&x);
^
user.cpp:49:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 860kb | Time limit exceeded. | 0 |
Punctaj total | 0 |