結果
問題 |
No.3062 Rotate and Maximize
|
ユーザー |
![]() |
提出日時 | 2025-05-14 12:59:04 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 834 bytes |
コンパイル時間 | 562 ms |
コンパイル使用メモリ | 67,844 KB |
実行使用メモリ | 7,848 KB |
最終ジャッジ日時 | 2025-05-14 13:00:16 |
合計ジャッジ時間 | 2,332 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 51 |
ソースコード
#include <iostream> // Include the library for input/output operations int main() { // Optional: Lines to potentially speed up input/output operations. // Not strictly necessary for this simple problem, but good practice. std::ios_base::sync_with_stdio(false); std::cin.tie(NULL); int a, b; // Declare two integer variables to store the input numbers // Read the two integers from the standard input // It expects them to be separated by whitespace (like a space or newline) std::cin >> a >> b; // Calculate the sum of a and b, and print the result // std::cout sends output to the standard output // std::endl adds a newline character and flushes the output buffer std::cout << a + b << std::endl; // Return 0 to indicate that the program executed successfully return 0; }