結果
| 問題 |
No.8041 なんとかのはなうらない
|
| コンテスト | |
| ユーザー |
hazohel
|
| 提出日時 | 2019-04-01 21:08:33 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 342 bytes |
| コンパイル時間 | 688 ms |
| コンパイル使用メモリ | 68,140 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-11-26 10:01:36 |
| 合計ジャッジ時間 | 1,319 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | WA * 13 |
コンパイルメッセージ
main.cpp:13:11: warning: multi-character character constant [-Wmultichar]
13 | cout << 'YES' << endl;
| ^~~~~
main.cpp:16:11: warning: multi-character character constant [-Wmultichar]
16 | cout << 'YES' << endl;
| ^~~~~
main.cpp:19:11: warning: multi-character character constant [-Wmultichar]
19 | cout << 'YES' << endl;
| ^~~~~
main.cpp:22:11: warning: multi-character character constant [-Wmultichar]
22 | cout << 'NO' << endl;
| ^~~~
ソースコード
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
using namespace std;
using ll = long long;
int N;
int main(){
cin >> N;
if(N % 4 == 1){
cout << 'YES' << endl;
}
if(N % 4 == 2){
cout << 'YES' << endl;
}
if(N % 4 == 3){
cout << 'YES' << endl;
}
if(N % 4 == 0){
cout << 'NO' << endl;
}
}
hazohel