結果
| 問題 | No.683 Two Operations No.3 |
| コンテスト | |
| ユーザー |
testestest
|
| 提出日時 | 2018-05-13 08:06:38 |
| 言語 | C90(gcc12) (gcc 12.4.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 126 bytes |
| 記録 | |
| コンパイル時間 | 97 ms |
| コンパイル使用メモリ | 29,256 KB |
| 実行使用メモリ | 7,844 KB |
| 最終ジャッジ日時 | 2026-03-08 16:16:54 |
| 合計ジャッジ時間 | 674 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 16 |
コンパイルメッセージ
main.c:1:1: warning: data definition has no type or storage class
1 | F;f(long x,long y){x&&y?x%2||f(x/2,y-1),y%2||f(x-1,y/2):F++;}main(){long x,y;scanf("%ld%ld",&x,&y);f(x,y);puts(F?"Yes":"No");}
| ^
main.c: In function ‘main’:
main.c:1:78: warning: incompatible implicit declaration of built-in function ‘scanf’ [-Wbuiltin-declaration-mismatch]
1 | F;f(long x,long y){x&&y?x%2||f(x/2,y-1),y%2||f(x-1,y/2):F++;}main(){long x,y;scanf("%ld%ld",&x,&y);f(x,y);puts(F?"Yes":"No");}
| ^~~~~
main.c:1:1: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’
+++ |+#include <stdio.h>
1 | F;f(long x,long y){x&&y?x%2||f(x/2,y-1),y%2||f(x-1,y/2):F++;}main(){long x,y;scanf("%ld%ld",&x,&y);f(x,y);puts(F?"Yes":"No");}
ソースコード
F;f(long x,long y){x&&y?x%2||f(x/2,y-1),y%2||f(x-1,y/2):F++;}main(){long x,y;scanf("%ld%ld",&x,&y);f(x,y);puts(F?"Yes":"No");}
testestest