Submission #00508


ソースコード

ステータス

項目 データ
問題 0001 - 3 つの整数
ユーザー名 ei2537
投稿日時 2025-08-21 15:17:49
言語 C++17
状態 Compile Error
得点 0
ソースコード長 145 Byte
最大実行時間 -
最大メモリ使用量

コンパイルメッセージ

./Main.cpp: In function ‘int main()’:
./Main.cpp:6:1: error: ‘sort’ was not declared in this scope
 sort(n,n+3);
 ^~~~
./Main.cpp:6:1: note: suggested alternative: ‘qsort’
 sort(n,n+3);
 ^~~~
 qsort
./Main.cpp:7:21: error: expected ‘;’ before ‘return’
 cout << n[1] << endl
                     ^
                     ;
 return 0;
 ~~~~~~

セット

セット 得点 Cases

テストケース

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