/ SeriousOJ /

Record Detail

Compile Error

foo.cc: In function 'void solve()':
foo.cc:15:15: error: expected ')' at end of input
   15 |     if (x == 1
      |        ~      ^
      |               )
foo.cc:15:15: error: expected statement at end of input
foo.cc:15:15: error: expected '}' at end of input
foo.cc:12:14: note: to match this '{'
   12 | void solve() {
      |              ^

Code

#include <bits/stdc++.h>
using namespace std;

#ifdef LOCAL
#include "debug.h"
#else
#define debug(...) 42
#endif
using LL = long long;
using ULL = unsigned long long;

void solve() {
    int x, y;
    cin >> x >> y;
    if (x == 1 

Information

Submit By
Type
Submission
Problem
P1235 A. Valid Integer
Contest
Happy New Year 2026
Language
C++17 (G++ 13.2.0)
Submit At
2026-01-06 15:44:55
Judged At
2026-01-06 15:44:55
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes