結果
| 問題 | No.374 コイン |
| コンテスト | |
| ユーザー |
testestest
|
| 提出日時 | 2016-06-04 22:21:25 |
| 言語 | C90 (gcc 12.4.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 1,000 ms |
| コード長 | 60 bytes |
| 記録 | |
| コンパイル時間 | 125 ms |
| コンパイル使用メモリ | 28,228 KB |
| 最終ジャッジ日時 | 2026-02-23 21:28:27 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 31 |
コンパイルメッセージ
main.c: In function ‘main’:
main.c:1:17: warning: incompatible implicit declaration of built-in function ‘scanf’ [-Wbuiltin-declaration-mismatch]
1 | long a,b;main(){scanf("%ld%ld",&a,&b);a=!puts(a<b?"K":"S");}
| ^~~~~
main.c:1:1: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’
+++ |+#include <stdio.h>
1 | long a,b;main(){scanf("%ld%ld",&a,&b);a=!puts(a<b?"K":"S");}
ソースコード
long a,b;main(){scanf("%ld%ld",&a,&b);a=!puts(a<b?"K":"S");}
testestest