Submission #00041
ソースコード
ステータス
| 項目 | データ |
|---|---|
| 問題 | 0005 - 短針(Hour Hand) |
| ユーザー名 | r2422 |
| 投稿日時 | 2024-07-31 13:25:52 |
| 言語 | C++17 |
| 状態 | Compile Error |
| 得点 | 0 |
| ソースコード長 | 230 Byte |
| 最大実行時間 | - |
| 最大メモリ使用量 |
コンパイルメッセージ
./Main.cpp: In function ‘int main()’:
./Main.cpp:9:13: error: invalid operands of types ‘double’ and ‘int’ to binary ‘operator%’
if((a+b)%12==0){
~~~~~^~~
./Main.cpp:12:16: error: invalid operands of types ‘double’ and ‘int’ to binary ‘operator%’
cout<<(a+b)%12<<endl;
~~~~~^~~
セット
| セット | 得点 | Cases |
|---|
テストケース
| ファイル名 | 状態 | 実行時間 | メモリ使用量 | # |
|---|---|---|---|