結果
問題 | No.687 E869120 and Constructing Array 1 |
ユーザー |
![]() |
提出日時 | 2018-06-04 10:31:45 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 223 bytes |
コンパイル時間 | 97 ms |
コンパイル使用メモリ | 27,520 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-06-30 09:33:01 |
合計ジャッジ時間 | 782 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 5 WA * 1 |
ソースコード
#include <stdio.h>int main(){int i,num;int a,b;scanf("%d", &num);if(num >= 10){a = 10;b = num - a;printf("%d %d\n", a, b);}else {a = 1;b = num - 1;printf("%d %d\n", a, b);}return 0;}