Borderou de evaluare (job #2248721)

Utilizator BitsNBytesUPB Naiden Necula Pirtoaca BitsNBytes Data 29 septembrie 2018 13:19:02
Problema Unter Status done
Runda Nationala ACM ICPC 2018 Compilator cpp | Vezi sursa
Scor 0

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:50: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
1Depăşit864kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?