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

Tests(0/0):


Code:

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


Run Info:

Main.cc: In function 'int main()':
Main.cc:6:30: warning: format '%c' expects argument of type 'int', but argument 2 has type 'char*' [-Wformat=]
     printf("%c",&a+10-30*20/5);
                              ^
Main.cc:6:31: error: expected '}' at end of input
     printf("%c",&a+10-30*20/5);
                               ^