Pagini recente » Borderou de evaluare (job #2518206) | Borderou de evaluare (job #1572639) | Borderou de evaluare (job #3167159) | Borderou de evaluare (job #1084072) | Borderou de evaluare (job #2036606)
Borderou de evaluare (job #2036606)
Raport evaluator
Compilare:
user.cpp: In function ‘int solve(int, int)’:
user.cpp:21:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (st!=con1)
^
user.cpp:26:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (dr!=con2)
^
user.cpp:7:5: warning: unused variable ‘s’ [-Wunused-variable]
int s=1,d=(int)log2((double)dr)+1;
^
user.cpp:31:8: warning: no return statement in function returning non-void [-Wreturn-type]
rasp++;}
^
user.cpp: In function ‘int main()’:
user.cpp:33:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hansha.in","r",stdin);
^
user.cpp:34:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hansha.out","w",stdout);
^
user.cpp:36:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:38:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k);
^
user.cpp:40:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:41:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&st,&dr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 272kb | Time limit exceeded. | 0 |
2 | Depăşit | 272kb | Time limit exceeded. | 0 |
3 | 360ms | 272kb | OK | 20 |
4 | Depăşit | 276kb | Time limit exceeded. | 0 |
5 | Depăşit | 276kb | Time limit exceeded. | 0 |
Punctaj total | 20 |