Submission #00052


ソースコード

ステータス

項目 データ
問題 0007 - 天体観測
ユーザー名 udonkun
投稿日時 2016-08-04 10:33:08
言語 C++11
状態 Compile Error
得点 0
ソースコード長 667 Byte
最大実行時間 -
最大メモリ使用量

コンパイルメッセージ

./Main.cpp:1:1: error: ‘include’ does not name a type
 include<bits/stdc++.h>
 ^
./Main.cpp:5:9: error: ‘pair’ does not name a type
 typedef pair<int,int> P;
         ^
./Main.cpp:6:9: error: ‘pair’ does not name a type
 typedef pair<int,P> PP;
         ^
./Main.cpp: In function ‘int main()’:
./Main.cpp:10:3: error: ‘PP’ was not declared in this scope
   PP a[222222];
   ^
./Main.cpp:11:3: error: ‘multiset’ was not declared in this scope
   multiset<int> X,Y;
   ^
./Main.cpp:11:12: error: expected primary-expression before ‘int’
   multiset<int> X,Y;
            ^
./Main.cpp:12:3: error: ‘cin’ was not declared in this scope
   cin >> n >> d;
   ^
./Main.cpp:14:12: error: ‘a’ was not declared in this scope
     cin >> a[i].S.F >> a[i].S.S >> a[i].F;
            ^
./Main.cpp:16:8: error: ‘a’ was not declared in this scope
   sort(a,a+n);
        ^
./Main.cpp:16:13: error: ‘sort’ was not declared in this scope
   sort(a,a+n);
             ^
./Main.cpp:20:7: error: ‘X’ was not declared in this scope
       X.erase(X.find(a[low].S.F));
       ^
./Main.cpp:21:7: error: ‘Y’ was not declared in this scope
       Y.erase(Y.find(a[low].S.S));
       ^
./Main.cpp:24:5: error: ‘X’ was not declared in this scope
     X.insert(a[i].S.F);
     ^
./Main.cpp:25:5: error: ‘Y’ was not declared in this scope
     Y.insert(a[i].S.S);
     ^
./Main.cpp:27:87: error: ‘max’ was not declared in this scope
     ret = max(ret,(long long int)(*--X.end() - *X.begin()) * (*--Y.end() - *Y.begin()));
                                                                                       ^
./Main.cpp:29:3: error: ‘cout’ was not declared in this scope
   cout << ret << endl;
   ^
./Main.cpp:29:18: error: ‘endl’ was not declared in this scope
   cout << ret << endl;
                  ^

セット

セット 得点 Cases

テストケース

ファイル名 状態 実行時間 メモリ使用量 #