結果
| 問題 |
No.272 NOT回路
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-02-19 02:17:42 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 277 bytes |
| コンパイル時間 | 133 ms |
| コンパイル使用メモリ | 29,184 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-07-05 18:32:29 |
| 合計ジャッジ時間 | 773 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 |
| other | WA * 11 |
ソースコード
#include<stdio.h>
#include<stdlib.h>
#include<math.h>
#include<string.h>
int main(int argc, char const *argv[])
{
int x;
printf("xの値は?\n");
scanf("%d",&x);
if(x==0){
printf("1\n");
}else if(x==1){
printf("0\n");
}else{
printf("error\n");
}
return 0;
}