Pagini recente » Borderou de evaluare (job #889745) | Borderou de evaluare (job #111467) | Borderou de evaluare (job #835118) | Borderou de evaluare (job #2026489) | Borderou de evaluare (job #1224085)
Borderou de evaluare (job #1224085)
Raport evaluator
Compilare:
user.cpp: In function ‘drept intersectie(drept, drept)’:
user.cpp:15:20: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(di.y1>di.y2 && di.x2>di.x1 || di.y2<di.y1 && di.x2<di.x1)
^
user.cpp: In function ‘int main()’:
user.cpp:38:37: 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:39:39: 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:41:122: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d%d%d%d%d%d%d%d",&d1.x1,&d1.y1,&d1.x2,&d1.y2,&d2.x1,&d2.y1,&d2.x2,&d2.y2,&d3.x1,&d3.y1,&d3.x2,&d3.y2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 0ms | 260kb | Incorect | 0 |
5 | 0ms | 252kb | OK | 10 |
6 | 0ms | 256kb | OK | 10 |
7 | 0ms | 260kb | OK | 10 |
8 | 0ms | 256kb | OK | 10 |
9 | 0ms | 256kb | OK | 10 |
10 | 0ms | 256kb | OK | 10 |
Punctaj total | 90 |