Submission #814957


Source Code Expand

Copy
# include <algorithm>
# include <cassert>
# include <cctype>
# include <cstdio>
# include <cstdlib>
# include <cstring>
# include <cmath>
# include <iostream>
# include <map>
# include <queue>
# include <set>
# include <sstream>
# include <stack>
# include <string>
# include <vector>
# include <iomanip>

# define rep(i, n) for (int i = 0; i < (int)(n); i++)
# define irep(i, n) for (int i = int(n) - 1; i >= 0; i--)
# define FOR(i, m, n) for (int i = int(m); i < (int)(n); i++)

using namespace std;
typedef long long ll;
typedef pair<int, int> P;

const int INF = 1001001001;

int N, L;

int main() {
  cin >> N >> L;
  vector<string> S(N);

  rep (i, N) {
    cin >> S[i];
  }

  sort(S.begin(), S.end());

  cout << S[0] << endl;
}

Submission Info

Submission Time
Task B - Iroha Loves Strings (ABC Edition)
User himkt
Language C++14 (GCC 5.4.1)
Score 0
Code Size 778 Byte
Status WA
Exec Time 8 ms
Memory 768 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 200
Status
WA × 1
AC × 2
WA × 8
Set Name Test Cases
Sample subtask0_sample_01.txt
All subtask0_sample_01.txt, subtask1_01.txt, subtask1_02.txt, subtask1_03.txt, subtask1_04.txt, subtask1_05.txt, subtask1_06.txt, subtask1_07.txt, subtask1_08.txt, subtask1_09.txt
Case Name Status Exec Time Memory
subtask0_sample_01.txt WA 8 ms 768 KB
subtask1_01.txt WA 5 ms 256 KB
subtask1_02.txt WA 5 ms 256 KB
subtask1_03.txt WA 4 ms 256 KB
subtask1_04.txt WA 4 ms 256 KB
subtask1_05.txt AC 4 ms 256 KB
subtask1_06.txt WA 5 ms 256 KB
subtask1_07.txt WA 6 ms 256 KB
subtask1_08.txt WA 4 ms 256 KB
subtask1_09.txt AC 4 ms 256 KB