結果
問題 |
No.920 あかあお
|
ユーザー |
![]() |
提出日時 | 2019-11-08 22:55:35 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 249 bytes |
コンパイル時間 | 104 ms |
コンパイル使用メモリ | 27,776 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-09-15 02:04:12 |
合計ジャッジ時間 | 715 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 11 |
ソースコード
#include <stdio.h> int main(void){ int x,y,z; while(x!=y){ if(x>y){ y++; z--; } else{ z--; x++; } } printf("%d\n",x+(z/2)); return 0; }