Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
78440 秦浩然 05字符的变化 C++ Compile Error 0 MS 0 KB 10454 2024-06-21 22:38:21

Tests(0/0):


Code:

#include<iostream> #include<cstdio> int main(){ #include<iostream> char a; scanf("%c",&a); printf("%c",a+10-30*20/5);


Run Info:

Main.cc: In function 'int main()':
Main.cc:7:30: error: expected '}' at end of input
     printf("%c",a+10-30*20/5); 
                              ^
Main.cc:6:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%c",&a);
                   ^