Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
67360 石依灵 11加密规则 C++ Compile Error 0 MS 0 KB 358 2024-03-16 14:22:55

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,d,e,f; scanf("%1d%1d%1d%1d%1d%1d%",&a,&b,&c,&d,&e,&f); cout<<char(a+'A'); c=a+b+c; f=c+d+e+f; if(b%2==0){ b=b/2; } cout<<b; cout<<c%10; cout<<d; e=e+'l'+'e'; e=e/10%10; cout<<e; cout<<f%10; return 0; }


Run Info:

Main.cc:5:5: error: stray '\357' in program
     scanf("%1d%1d%1d%1d%1d%1d%",&a,&b,&c,&d,&e,&f);
     ^
Main.cc:5:5: error: stray '\274' in program
Main.cc:5:5: error: stray '\233' in program
Main.cc: In function 'int main()':
Main.cc:5:50: warning: spurious trailing '%' in format [-Wformat=]
     scanf("%1d%1d%1d%1d%1d%1d%",&a,&b,&c,&d,&e,&f);
                                                  ^
Main.cc:6:5: error: expected ';' before 'cout'
     cout<