結果
| 問題 | No.627 ランダムウォークの軌跡 |
| コンテスト | |
| ユーザー |
%20
|
| 提出日時 | 2018-01-21 15:11:33 |
| 言語 | C90(gcc12) (gcc 12.4.0) |
| 結果 |
RE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 76 bytes |
| 記録 | |
| コンパイル時間 | 39 ms |
| コンパイル使用メモリ | 28,160 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-07-28 01:50:56 |
| 合計ジャッジ時間 | 1,679 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 33 |
コンパイルメッセージ
main.c:1:1: warning: data definition has no type or storage class
1 | s,a,b;main(i){for(;~scanf("%d",&b);s|=--i&&abs(b,a+=b-=a)-1);puts(L"TF"+s);}
| ^
main.c: In function ‘main’:
main.c:1:21: warning: incompatible implicit declaration of built-in function ‘scanf’ [-Wbuiltin-declaration-mismatch]
1 | s,a,b;main(i){for(;~scanf("%d",&b);s|=--i&&abs(b,a+=b-=a)-1);puts(L"TF"+s);}
| ^~~~~
main.c:1:1: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’
+++ |+#include <stdio.h>
1 | s,a,b;main(i){for(;~scanf("%d",&b);s|=--i&&abs(b,a+=b-=a)-1);puts(L"TF"+s);}
main.c:1:44: warning: too many arguments to built-in function ‘abs’ expecting 1 [-Wbuiltin-declaration-mismatch]
1 | s,a,b;main(i){for(;~scanf("%d",&b);s|=--i&&abs(b,a+=b-=a)-1);puts(L"TF"+s);}
| ^~~
main.c:1:72: warning: passing argument 1 of ‘puts’ from incompatible pointer type [-Wincompatible-pointer-types]
1 | s,a,b;main(i){for(;~scanf("%d",&b);s|=--i&&abs(b,a+=b-=a)-1);puts(L"TF"+s);}
| ~~~~~^~
| |
| int *
main.c:1:72: note: expected ‘const char *’ but argument is of type ‘int *’
ソースコード
s,a,b;main(i){for(;~scanf("%d",&b);s|=--i&&abs(b,a+=b-=a)-1);puts(L"TF"+s);}
%20