Submission #60493
ソースコード
ステータス
| 項目 | データ |
|---|---|
| 問題 | 1353 - Function of Euclidean Distance |
| ユーザー名 | syoribu |
| 投稿日時 | 2020-07-09 18:01:00 |
| 言語 | C++17 |
| 状態 | Compile Error |
| 得点 | 0 |
| ソースコード長 | 309 Byte |
| 最大実行時間 | - |
| 最大メモリ使用量 |
コンパイルメッセージ
./Main.cpp: In function ‘int main()’:
./Main.cpp:8:16: error: invalid types ‘double [1020000][double]’ for array subscript
m[c]=sqrt(i*i+j*j);
^
./Main.cpp:12:13: error: invalid operands of types ‘double [1020000]’ and ‘double’ to binary ‘operator+’
sort(m,m+c);
~^~
./Main.cpp:13:23: error: invalid types ‘double [1020000][double]’ for array subscript
cout<<fixed<<m[k-1]<<endl;
^
セット
| セット | 得点 | Cases |
|---|
テストケース
| ファイル名 | 状態 | 実行時間 | メモリ使用量 | # |
|---|---|---|---|