/ Vijos /

记录详情

Compile Error

/in/foo.cc:11:13: error: stray '\357' in program
   while(j!=0)
             ^
/in/foo.cc:11:14: error: stray '\274' in program
   while(j!=0)
              ^
/in/foo.cc:11:15: error: stray '\211' in program
   while(j!=0)
               ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:6:2: error: 'cin' was not declared in this scope
  cin>>n>>x;
  ^~~
/in/foo.cc:6:2: note: suggested alternative:
In file included from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:75:0,
                 from /in/foo.cc:1:
/usr/include/c++/6/iostream:60:18: note:   'std::cin'
   extern istream cin;  /// Linked to standard input
                  ^~~
/in/foo.cc:12:6: error: expected ')' before '{' token
      {
      ^
/in/foo.cc:13:7: error: 'ans' was not declared in this scope
       ans=j%10;
       ^~~

信息

递交者
类型
自测
题目
P1848 记数问题
语言
C++
递交时间
2024-11-07 10:56:38
评测时间
2024-11-07 10:56:38
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes