Submission #00114
ソースコード
ステータス
| 項目 |
データ |
| 問題 |
0001 - int? |
| ユーザー名 |
ei2332
|
| 投稿日時 |
2024-11-18 16:31:20 |
| 言語 |
C++17 |
| 状態 |
Compile Error |
| 得点 |
0
|
| ソースコード長 |
76 Byte |
| 最大実行時間 |
-
|
| 最大メモリ使用量 |
|
コンパイルメッセージ
./Main.cpp:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
#import<stdio.h>
^~~~~~
./Main.cpp:2:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
main(){int m;scanf("%d.%d",,&m);puts(m==0?"int":"float");}
^
./Main.cpp: In function ‘int main()’:
./Main.cpp:2:28: error: expected primary-expression before ‘,’ token
main(){int m;scanf("%d.%d",,&m);puts(m==0?"int":"float");}
^
セット
テストケース