結果
問題 |
No.692 square1001 and Permutation 1
|
ユーザー |
|
提出日時 | 2018-06-13 00:14:21 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 183 bytes |
コンパイル時間 | 526 ms |
コンパイル使用メモリ | 54,808 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-30 13:58:42 |
合計ジャッジ時間 | 937 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 3 WA * 2 |
コンパイルメッセージ
main.cpp:4:1: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type] 4 | main(){ | ^~~~
ソースコード
#include<iostream> using namespace std; main(){ int a; cin >> a; if (a % 2 == 0){ cout << "Petr" << endl; }else{ cout << "square1001" << endl; } }