結果
問題 |
No.1642 Registration
|
ユーザー |
|
提出日時 | 2022-04-13 18:28:01 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 341 bytes |
コンパイル時間 | 1,602 ms |
コンパイル使用メモリ | 156,388 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-23 16:58:30 |
合計ジャッジ時間 | 2,040 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 |
コンパイルメッセージ
main.cpp: In function ‘int main()’: main.cpp:14:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 14 | scanf("%d", &n); | ~~~~~^~~~~~~~~~
ソースコード
#include <bits/stdc++.h> // #include <atcoder/all> #define rep(i, n) for (int i = 0; i < (int)(n); i++) using namespace std; // using namespace atcoder; using ll = long long; using p = pair<ll, ll>; // #define rep(i, n) for (ll i = 0; i < (ll)(n); i++) int main() { int n; scanf("%d", &n); printf("%03d\n", n); return 0; }