Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
165302 邓祥睿 04保留两位小数 C++ Compile Error 0 MS 0 KB 622 2026-11-14 16:16:03

Tests(0/0):


Code:

Users\makcoo\AppData\Local\Temp\lema\cpp\127715\main.cpp:8:8: error: no match for 'operator<<' (operand types are 'std::istream' {aka 'std::basic_istream<char>'} and 'char') 8 | cin<<a>>b; | ~~~^~~ | | | | | char | std::istream {aka std::basic_istream<char>} C:\Users\makcoo\AppData\Local\Temp\lema\cpp\127715\main.cpp:8:8: note: candidate: 'operator<<(int, int)' (built-in) 8 | cin<<a>>b; | ~~~^~~ C:\Users\makcoo\AppData\Local\Temp\lema\cpp\127715\main.cpp:8:8: note: no known conversion for argument 1 from 'std::istream' {aka 'std::bas


Run Info:

Main.cc:1:1: error: stray '\' in program
 Users\makcoo\AppData\Local\Temp\lema\cpp\127715\main.cpp:8:8: error: no match for 'operator<<' (operand types are 'std::istream' {aka 'std::basic_istream'} and 'char')
 ^
Main.cc:1:1: error: stray '\' in program
Main.cc:1:1: error: stray '\' in program
Main.cc:1:1: error: stray '\' in program
Main.cc:1:1: error: stray '\' in program
Main.cc:1:1: error: stray '\' in program
Main.cc:1:1: error: stray '\' in program
Main.cc:1:1: error: stray '\' in program
Main.cc:1:83: warning: character constant too long for its type
 Users\makcoo\AppData\Local\Temp\lema\cpp\127715\main.cpp:8:8: error: no match for 'operator<<' (operand types are 'std::istream' {aka 'std::basic_istream'} and 'char')
                                                                                   ^
Main.cc:1:115: warning: character constant too long for its type
 Users\makcoo\AppData\Local\Temp\lema\cpp\127715\main.cpp:8:8: error: no match for 'operator<<' (operand types are 'std::istream' {aka 'std::basic_istream'} and 'char')
                                                                                                                   ^
Main.cc:1:135: warning: character constant too long for its type
 Users\makcoo\AppData\Local\Temp\lema\cpp\127715\main.cpp:8:8: error: no match for 'operator<<' (operand types are 'std::istream' {aka 'std::basic_istream'} and 'char')
                                                                                                                                       ^
Main.cc:1:167: warning: multi-character character constant [-Wmultichar]
 Users\makcoo\AppData\Local\Temp\lema\cpp\127715\main.cpp:8:8: error: no match for 'operator<<' (operand types are 'std::istream' {aka 'std::basic_istream'} and 'char')
                                                                                                                                                                       ^
Main.cc:7:1: error: stray '\' in program
 C:\Users\makcoo\AppData\Local\Temp\lema\cpp\127715\main.cpp:8:8: note: candidate: 'operator<<(int, int)' (built-in)
 ^
Main.cc:7:1: error: stray '\' in program
Main.cc:7:1: error: stray '\' in program
Main.cc:7:1: error: stray '\' in program
Main.cc:7:1: error: stray '\' in program
Main.cc:7:1: error: stray '\' in program
Main.cc:7:1: error: stray '\' in program
Main.cc:7:1: error: stray '\' in program
Main.cc:7:1: error: stray '\' in program
Main.cc:7:83: warning: character constant too long for its type
 C:\Users\makcoo\AppData\Local\Temp\lema\cpp\127715\main.cpp:8:8: note: candidate: 'operator<<(int, int)' (built-in)
                                                                                   ^
Main.cc:10:1: error: stray '\' in program
 C:\Users\makcoo\AppData\Local\Temp\lema\cpp\127715\main.cpp:8:8: note:   no known conversion for argument 1 from 'std::istream' {aka 'std::bas
 ^
Main.cc:10:1: error: stray '\' in program
Main.cc:10:1: error: stray '\' in program
Main.cc:10:1: error: stray '\' in program
Main.cc:10:1: error: stray '\' in program
Main.cc:10:1: error: stray '\' in program
Main.cc:10:1: error: stray '\' in program
Main.cc:10:1: error: stray '\' in program
Main.cc:10:1: error: stray '\' in program
Main.cc:10:114: warning: character constant too long for its type
 C:\Users\makcoo\AppData\Local\Temp\lema\cpp\127715\main.cpp:8:8: note:   no known conversion for argument 1 from 'std::istream' {aka 'std::bas
                                                                                                                  ^
Main.cc:10:134: warning: missing terminating ' character
 C:\Users\makcoo\AppData\Local\Temp\lema\cpp\127715\main.cpp:8:8: note:   no known conversion for argument 1 from 'std::istream' {aka 'std::bas
                                                                                                                                      ^
Main.cc:10:1: error: missing terminating ' character
 C:\Users\makcoo\AppData\Local\Temp\lema\cpp\127715\main.cpp:8:8: note:   no known conversion for argument 1 from 'std::istream' {aka 'std::bas
 ^
Main.cc:1:1: error: 'Users' does not name a type
 Users\makcoo\AppData\Local\Temp\lema\cpp\127715\main.cpp:8:8: error: no match for 'operator<<' (operand types are 'std::istream' {aka 'std::basic_istream'} and 'char')
 ^
Main.cc:1:167: error: expected unqualified-id before '\x63686172'
 Users\makcoo\AppData\Local\Temp\lema\cpp\127715\main.cpp:8:8: error: no match for 'operator<<' (operand types are 'std::istream' {aka 'std::basic_istream'} and 'char')
                                                                                                                                                                       ^
Main.cc:1:167: error: expected constructor, destructor, or type conversion before '\x63686172'
Main.cc:3:7: error: expected unqualified-id before '|' token
       |     ~~~^~~
       ^
Main.cc:7:2: error: found ':' in nested-name-specifier, expected '::'
 C:\Users\makcoo\AppData\Local\Temp\lema\cpp\127715\main.cpp:8:8: note: candidate: 'operator<<(int, int)' (built-in)
  ^
Main.cc:7:1: error: 'C' does not name a type
 C:\Users\makcoo\AppData\Local\Temp\lema\cpp\127715\main.cpp:8:8: note: candidate: 'operator<<(int, int)' (built-in)
 ^
Main.cc:9:7: error: expected unqualified-id before '|' token
       |     ~~~^~~
       ^