Pagini recente » Borderou de evaluare (job #2573696) | Borderou de evaluare (job #2938736) | Borderou de evaluare (job #1056011) | Borderou de evaluare (job #862388) | Borderou de evaluare (job #1224083)
Borderou de evaluare (job #1224083)
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:49:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d %I64d",arie,per);
^
user.cpp:49:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
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 | 272kb | Incorect | 0 |
2 | 0ms | 272kb | Incorect | 0 |
3 | 0ms | 276kb | Incorect | 0 |
4 | 0ms | 268kb | Incorect | 0 |
5 | 0ms | 268kb | Incorect | 0 |
6 | 0ms | 272kb | Incorect | 0 |
7 | 0ms | 276kb | Incorect | 0 |
8 | 0ms | 276kb | Incorect | 0 |
9 | 0ms | 272kb | Incorect | 0 |
10 | 0ms | 268kb | Incorect | 0 |
Punctaj total | 0 |