結果
| 問題 | No.1806 Rotating Golem |
| コンテスト | |
| ユーザー |
Maeda
|
| 提出日時 | 2025-03-11 16:09:27 |
| 言語 | C (gcc 15.2.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 209 bytes |
| 記録 | |
| コンパイル時間 | 183 ms |
| コンパイル使用メモリ | 36,800 KB |
| 最終ジャッジ日時 | 2026-02-22 13:13:55 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 13 |
ソースコード
#include <stdio.h>
void main(void){
char a = 'a';
scanf("%c",&a);
char b = 'b';
scanf("%c",&b);
int rotation = 0;
if(a != b){
rotation = b-a;
}
printf("%d",rotation);
}
Maeda