結果
| 問題 | No.1945 Go Push! |
| コンテスト | |
| ユーザー |
👑 tails
|
| 提出日時 | 2022-05-21 02:20:23 |
| 言語 | C(gnu17) (gcc 15.2.0) |
| 結果 |
CE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 91 bytes |
| 記録 | |
| コンパイル時間 | 90 ms |
| コンパイル使用メモリ | 25,268 KB |
| 最終ジャッジ日時 | 2026-02-22 09:06:41 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
コンパイルメッセージ
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int]
1 | main(){
| ^~~~
main.c: In function 'main':
main.c:3:9: error: implicit declaration of function 'read' [-Wimplicit-function-declaration]
3 | read(0,&a,8);
| ^~~~
main.c:5:9: error: implicit declaration of function 'write' [-Wimplicit-function-declaration]
5 | write(1,a&1?"First ":"Second",6);
| ^~~~~
ソースコード
main(){
long a;
read(0,&a,8);
while(a&1<<12)a>>=8;
write(1,a&1?"First ":"Second",6);
}
tails