結果
| 問題 |
No.374 コイン
|
| コンテスト | |
| ユーザー |
👑 testestest
|
| 提出日時 | 2016-06-04 22:49:44 |
| 言語 | C90 (gcc 12.3.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 1,000 ms |
| コード長 | 60 bytes |
| コンパイル時間 | 259 ms |
| コンパイル使用メモリ | 18,688 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-07 22:38:57 |
| 合計ジャッジ時間 | 1,094 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 31 |
コンパイルメッセージ
main.c:1:10: warning: return type defaults to ‘int’ [-Wimplicit-int]
1 | long a,b;main(){a=scanf("%ld%ld",&a,&b)>putchar(a<b?75:83);}
| ^~~~
main.c: In function ‘main’:
main.c:1:19: warning: implicit declaration of function ‘scanf’ [-Wimplicit-function-declaration]
1 | long a,b;main(){a=scanf("%ld%ld",&a,&b)>putchar(a<b?75:83);}
| ^~~~~
main.c:1:1: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’
+++ |+#include <stdio.h>
1 | long a,b;main(){a=scanf("%ld%ld",&a,&b)>putchar(a<b?75:83);}
main.c:1:19: warning: incompatible implicit declaration of built-in function ‘scanf’ [-Wbuiltin-declaration-mismatch]
1 | long a,b;main(){a=scanf("%ld%ld",&a,&b)>putchar(a<b?75:83);}
| ^~~~~
main.c:1:19: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’
main.c:1:41: warning: implicit declaration of function ‘putchar’ [-Wimplicit-function-declaration]
1 | long a,b;main(){a=scanf("%ld%ld",&a,&b)>putchar(a<b?75:83);}
| ^~~~~~~
main.c:1:41: note: include ‘<stdio.h>’ or provide a declaration of ‘putchar’
ソースコード
long a,b;main(){a=scanf("%ld%ld",&a,&b)>putchar(a<b?75:83);}
testestest