結果
問題 | No.83 最大マッチング |
ユーザー |
👑 ![]() |
提出日時 | 2015-08-05 14:16:03 |
言語 | C90 (gcc 12.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 123 bytes |
コンパイル時間 | 208 ms |
コンパイル使用メモリ | 20,736 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-18 03:30:07 |
合計ジャッジ時間 | 816 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 |
コンパイルメッセージ
main.c: In function ‘main’: main.c:4:1: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 4 | scanf("%d",&a); | ^~~~~~~~~~~~~~
ソースコード
#include <stdio.h>int main(){int a;scanf("%d",&a);printf(a%2?"7":"1");a-=2+a%2;a/=2;while(a--)printf("1");return 0;}