結果
| 問題 |
No.8078 Very Simple Traveling Salesman Problem
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-11-10 02:32:41 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 125 bytes |
| コンパイル時間 | 1,687 ms |
| コンパイル使用メモリ | 194,248 KB |
| 実行使用メモリ | 8,064 KB |
| 最終ジャッジ日時 | 2025-11-10 02:32:44 |
| 合計ジャッジ時間 | 2,758 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 |
| other | WA * 10 |
コンパイルメッセージ
main.cpp:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
1 | #import<bits/stdc++.h>
| ^~~~~~
main.cpp:2:1: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
2 | main(){
| ^~~~
main.cpp: In function ‘int main()’:
main.cpp:4:11: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
4 | system("ruby tmp.rb");
| ~~~~~~^~~~~~~~~~~~~~~
ソースコード
#import<bits/stdc++.h>
main(){
std::ofstream f("tmp.rb"); f << "puts gets.split[0]"; f.close();
system("ruby tmp.rb");
}