結果
問題 | No.692 square1001 and Permutation 1 |
ユーザー |
|
提出日時 | 2018-06-13 00:14:21 |
言語 | C++11 (gcc 11.4.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 183 bytes |
コンパイル時間 | 389 ms |
コンパイル使用メモリ | 50,832 KB |
実行使用メモリ | 4,380 KB |
最終ジャッジ日時 | 2023-09-13 03:43:46 |
合計ジャッジ時間 | 1,066 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 1 ms
4,380 KB |
testcase_01 | AC | 2 ms
4,376 KB |
testcase_02 | WA | - |
testcase_03 | WA | - |
testcase_04 | AC | 1 ms
4,380 KB |
testcase_05 | AC | 2 ms
4,380 KB |
testcase_06 | WA | - |
testcase_07 | AC | 2 ms
4,376 KB |
コンパイルメッセージ
main.cpp:4:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type] main(){ ^
ソースコード
#include<iostream> using namespace std; main(){ int a; cin >> a; if (a % 2 == 0){ cout << "Petr" << endl; }else{ cout << "square1001" << endl; } }