/ Vijos /

记录详情

Compile Error

foo.cpp:17:5: error: stray '\221' in program
     while(ch<‘0‘||ch>‘9‘){if(ch==‘-‘)f=-1;ch=getchar();}
     ^
foo.cpp:17:5: error: stray '\221' in program
foo.cpp:17:5: error: stray '\221' in program
foo.cpp:17:5: error: stray '\221' in program
foo.cpp:17:5: error: stray '\221' in program
foo.cpp:17:5: error: stray '\221' in program
foo.cpp:18:5: error: stray '\221' in program
     while(ch>=‘0‘&&ch<=‘9‘){x=x*10+ch-‘0‘;ch=getchar();}
     ^
foo.cpp:18:5: error: stray '\221' in program
foo.cpp:18:5: error: stray '\221' in program
foo.cpp:18:5: error: stray '\221' in program
foo.cpp:18:5: error: stray '\221' in program
foo.cpp:18:5: error: stray '\221' in program
foo.cpp: In function 'int read()':
foo.cpp:17:37: error: expected primary-expression before ')' token
     while(ch<‘0‘||ch>‘9‘){if(ch==‘-‘)f=-1;ch=getchar();}
                                     ^

信息

递交者
类型
递交
题目
P1983 运输计划
语言
C++
递交时间
2016-09-05 22:17:13
评测时间
2016-09-05 22:17:13
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes