結果
| 問題 |
No.83 最大マッチング
|
| コンテスト | |
| ユーザー |
👑 testestest
|
| 提出日時 | 2015-11-14 21:12:16 |
| 言語 | C90 (gcc 12.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 59 bytes |
| コンパイル時間 | 258 ms |
| コンパイル使用メモリ | 19,200 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-13 16:44:44 |
| 合計ジャッジ時間 | 847 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 |
コンパイルメッセージ
main.c:1:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
1 | main(a){for(scanf("%d",&a);putchar(49+a%2*6),a&=~1,a-=2;);}
| ^~~~
main.c: In function ‘main’:
main.c:1:1: warning: type of ‘a’ defaults to ‘int’ [-Wimplicit-int]
main.c:1:13: warning: implicit declaration of function ‘scanf’ [-Wimplicit-function-declaration]
1 | main(a){for(scanf("%d",&a);putchar(49+a%2*6),a&=~1,a-=2;);}
| ^~~~~
main.c:1:1: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’
+++ |+#include <stdio.h>
1 | main(a){for(scanf("%d",&a);putchar(49+a%2*6),a&=~1,a-=2;);}
main.c:1:13: warning: incompatible implicit declaration of built-in function ‘scanf’ [-Wbuiltin-declaration-mismatch]
1 | main(a){for(scanf("%d",&a);putchar(49+a%2*6),a&=~1,a-=2;);}
| ^~~~~
main.c:1:13: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’
main.c:1:28: warning: implicit declaration of function ‘putchar’ [-Wimplicit-function-declaration]
1 | main(a){for(scanf("%d",&a);putchar(49+a%2*6),a&=~1,a-=2;);}
| ^~~~~~~
main.c:1:28: note: include ‘<stdio.h>’ or provide a declaration of ‘putchar’
ソースコード
main(a){for(scanf("%d",&a);putchar(49+a%2*6),a&=~1,a-=2;);}
testestest