Submission #997322

#TimeUsernameProblemLanguageResultExecution timeMemory
997322yeediotPortal (BOI24_portal)C++17
Compilation error
0 ms0 KiB
#include <iostream> using namespace std; #define int long long int main() { int n; cin >> n; if(n<=2){ cout<<-1; return 0; } int x,y,xx,yy,xxx,yyy; cin>>x>>y>>xx>>yy>>xxx>>yyy; int dick=abs((xx-x)*(yyy-y)-(yy-y)*(xxx-x)); cout<<(dick==0?-1:dick); }

Compilation message (stderr)

cc1plus: error: '::main' must return 'int'