Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
65580 李志奇 07大小写转换 C++ Compile Error 0 MS 0 KB 144 2024-01-26 12:10:33

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ char x; cin >> x; if}(x<=90){ x+=32; }else{ x-=32; } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:6:4: error: expected '(' before '}' token
  if}(x<=90){
    ^
Main.cc: At global scope:
Main.cc:6:7: error: expected ')' before '<=' token
  if}(x<=90){
       ^
Main.cc:8:3: error: expected unqualified-id before 'else'
  }else{
   ^
Main.cc:11:2: error: expected unqualified-id before 'return'
  return 0;
  ^
Main.cc:12:1: error: expected declaration before '}' token
 }
 ^