Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
82887 张黄源 只出现一次的字符 C++ Compile Error 0 MS 0 KB 278 2024-07-13 16:32:57

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ string s; cin>>s; int k; for(int i=0li<s.size();i++){ for(int i=i+j;j<s.size();j++){ if(s[i]==s[j]){ k++; } } if(k==1){ cout<<s[i]; return 0; } } cout<<"no"; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:7:12: error: unable to find numeric literal operator 'operator""li'
  for(int i=0li