結果
問題 |
No.857 素振り
|
ユーザー |
![]() |
提出日時 | 2019-08-25 15:20:17 |
言語 | C (gcc 13.3.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 279 bytes |
コンパイル時間 | 282 ms |
コンパイル使用メモリ | 29,056 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-06 17:08:38 |
合計ジャッジ時間 | 3,357 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 2 WA * 4 TLE * 2 |
ソースコード
#include <stdio.h> int main(void){ int x=0; int y=0; int z=0; scanf("%d%d%d",&x,&y,&z); int i=0; int c=0; for ( i=1; i<=z; i++){ if(i!=x && i!=y){ c++; } } printf("%d\n",c); return 0; }