結果
| 問題 |
No.3379 Third Max (C++)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-11-22 13:28:29 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 105 bytes |
| コンパイル時間 | 1,754 ms |
| コンパイル使用メモリ | 195,260 KB |
| 実行使用メモリ | 7,848 KB |
| 最終ジャッジ日時 | 2025-11-22 13:28:33 |
| 合計ジャッジ時間 | 3,552 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 14 WA * 1 |
コンパイルメッセージ
main.cpp:2:1: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
2 | main(){char c[19];std::cin.getline(c,19);std::sort(c,c+19);printf("%c\n",c[16]);}
| ^~~~
ソースコード
#include<bits/stdc++.h>
main(){char c[19];std::cin.getline(c,19);std::sort(c,c+19);printf("%c\n",c[16]);}