Pagini recente » Cod sursa (job #2496506) | Cod sursa (job #820593) | Borderou de evaluare (job #1343728)
Borderou de evaluare (job #1343728)
Raport evaluator
Compilare:
user.cpp: In function ‘drept reuniune(drept, drept)’:
user.cpp:9:8: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
if(b.x>a.x1 | a.x>b.x1 | a.y>b.y1 | b.y>a.y1)
^
user.cpp:9:30: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
if(b.x>a.x1 | a.x>b.x1 | a.y>b.y1 | b.y>a.y1)
^
user.cpp:9:41: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
if(b.x>a.x1 | a.x>b.x1 | a.y>b.y1 | b.y>a.y1)
^
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("reuniune.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("reuniune.out","w",stdout);
^
user.cpp:30:69: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld %lld %lld ",&v[i].x,&v[i].y,&v[i].x1,&v[i].y1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | OK | 10 |
2 | 0ms | 248kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 0ms | 260kb | OK | 10 |
5 | 0ms | 256kb | OK | 10 |
6 | 0ms | 256kb | OK | 10 |
7 | 0ms | 252kb | OK | 10 |
8 | 0ms | 256kb | OK | 10 |
9 | 0ms | 260kb | OK | 10 |
10 | 0ms | 256kb | OK | 10 |
Punctaj total | 100 |