Language: C++

Last login: Sat Apr  4 23:55:58 on ttys000
[nhiroki@nhiroki-macbookpro ~]$ mkjunk
/var/folders/dk/0m5dpwqj1jqcsy5yz036c2f8003k4q/T/temp.CS6QCFRa
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ 




















[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ ls
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ vim a.cc

[1]+  Stopped                 vim a.cc
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
vim a.cc

[1]+  Stopped                 vim a.cc
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ clang++ a.cc 
a.cc:6:8: error: no member named 'out' in namespace 'std'; did you mean 'cout'?
  std::out << x << " " << y << " " << z << std::endl;
  ~~~~~^~~
       cout
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iostream:54:33: note: 
      'cout' declared here
extern _LIBCPP_FUNC_VIS ostream cout;
                                ^
1 error generated.
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
vim a.cc

[1]+  Stopped                 vim a.cc
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ clang++ a.cc 
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ ./a.out 
1 2 3
2 3 1
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
vim a.cc

[1]+  Stopped                 vim a.cc
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ clang++ a.cc 
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
vim a.cc

[1]+  Stopped                 vim a.cc
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ ./a.out 
1 2 3
2 1 3
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ 
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
vim a.cc

[1]+  Stopped                 vim a.cc
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ clang++ a.cc 
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ ./a.out 
1 2 3
3 1 2
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ ./a.out 
100 100 100
100 100 100
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ ./a.out 
41 59 31
31 41 59
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
vim a.cc
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ vim b.cc

[1]+  Stopped                 vim b.cc
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ clang++ b.cc 
b.cc:5:3: error: use of undeclared identifier 'cin'; did you mean 'std::cin'?
  cin >> n >> m;
  ^~~
  std::cin
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iostream:50:33: note: 
      'std::cin' declared here
extern _LIBCPP_FUNC_VIS istream cin;
                                ^
b.cc:6:20: error: implicit instantiation of undefined template
      'std::__1::vector<int, std::__1::allocator<int> >'
  std::vector<int> a;
                   ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iosfwd:200:28: note: 
      template is declared here
class _LIBCPP_TEMPLATE_VIS vector;
                           ^
b.cc:8:5: error: use of undeclared identifier 'cin'; did you mean 'std::cin'?
    cin >> a.at[i];
    ^~~
    std::cin
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iostream:50:33: note: 
      'std::cin' declared here
extern _LIBCPP_FUNC_VIS istream cin;
                                ^
b.cc:9:10: error: no member named 'out' in namespace 'std'
    std::out << a[i] << std::endl;
    ~~~~~^
4 errors generated.
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
vim b.cc

[1]+  Stopped                 vim b.cc
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ clang++ b.cc 
b.cc:5:3: error: use of undeclared identifier 'cin'; did you mean 'std::cin'?
  cin >> n >> m;
  ^~~
  std::cin
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iostream:50:33: note: 
      'std::cin' declared here
extern _LIBCPP_FUNC_VIS istream cin;
                                ^
b.cc:6:20: error: implicit instantiation of undefined template
      'std::__1::vector<int, std::__1::allocator<int> >'
  std::vector<int> a;
                   ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iosfwd:200:28: note: 
      template is declared here
class _LIBCPP_TEMPLATE_VIS vector;
                           ^
2 errors generated.
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
vim b.cc

[1]+  Stopped                 vim b.cc
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ clang++ b.cc 
b.cc:6:20: error: implicit instantiation of undefined template
      'std::__1::vector<int, std::__1::allocator<int> >'
  std::vector<int> a;
                   ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iosfwd:200:28: note: 
      template is declared here
class _LIBCPP_TEMPLATE_VIS vector;
                           ^
1 error generated.
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
vim b.cc

[1]+  Stopped                 vim b.cc
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ clang++ b.cc 
b.cc:9:19: error: reference to non-static member function must be called
    std::cin >> a.at[i];
                ~~^~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:646:21: note: 
      possible target for call
    reference       at(size_type __n);
                    ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:647:21: note: 
      possible target for call
    const_reference at(size_type __n) const;
                    ^
1 error generated.
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
vim b.cc

[1]+  Stopped                 vim b.cc
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ clang++ b.cc 
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ ./a.out 
4 1
5 4 2 1libc++abi.dylib: terminating with uncaught exception of type std::out_of_range: vector
Abort trap: 6
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ 5 4 2 1fg
-bash: 5: command not found
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ 
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
vim b.cc

[1]+  Stopped                 vim b.cc
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ clang++ b.cc 
b.cc:9:29: error: too few arguments to function call, single argument '__x' was
      not specified
    std::cin >> a.push_back();
                ~~~~~~~~~~~ ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:688:5: note: 
      'push_back' declared here
    _LIBCPP_INLINE_VISIBILITY void push_back(const_reference __x);
    ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__config:747:35: note: 
      expanded from macro '_LIBCPP_INLINE_VISIBILITY'
#define _LIBCPP_INLINE_VISIBILITY __attribute__ ((__visibility__("hidden...
                                  ^
1 error generated.
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
vim b.cc

[1]+  Stopped                 vim b.cc
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ clang++ b.cc 
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ ./a.out 
4 1
5 4 2 1
5
4
2
1
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
vim b.cc

[1]+  Stopped                 vim b.cc
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ clang++ b.cc 
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ ./a.out 
4 1
5 4 2 1
Yes[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ 
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
vim b.cc

[1]+  Stopped                 vim b.cc
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ clang++ b.cc 
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
vim b.cc

[1]+  Stopped                 vim b.cc
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ clang++ b.cc 
b.cc:16:55: error: reference to overloaded function could not be resolved; did
      you mean to call it?
  std::cout << (a[m-1] < threshold) ? "No" : "Yes" << std::endl;
                                                      ^~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:999:1: note: 
      possible target for call
endl(basic_ostream<_CharT, _Traits>& __os)
^
1 error generated.
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
vim b.cc

[1]+  Stopped                 vim b.cc
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ clang++ b.cc 
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ ./a.out 
4 1
5 4 2 1
Yes
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
vim b.cc

[1]+  Stopped                 vim b.cc
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ 
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ ./a.out 
3 2
380 19 1
No
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ ./a.out 
12 3
4 56 78 901 2 345 67 890 123 45 6 789
Yes
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
vim b.cc

[1]+  Stopped                 vim b.cc
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ clang++ b.cc 
[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
vim b.cc

#include <algorithm>                                                            
#include <iostream>
#include <vector>

int main() {
  int n, m;
  std::cin >> n >> m;

  std::vector<int> a(n);
  int total = 0;
  for (int i = 0; i < n; ++i) {
    std::cin >> a.at(i);
    total += a[i];
  }
  int threshold = total / (4 * m);
  std::sort(a.begin(), a.end(), std::greater<int>());
  std::cout << ((a[m-1] < threshold) ? "No" : "Yes") << std::endl;
}

Compiler output:
a.cc:2:9: error: stray '@' in program
    2 | [nhiroki@nhiroki-macbookpro ~]$ mkjunk
      |         ^
a.cc:4:9: error: stray '@' in program
    4 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$
      |         ^
a.cc:25:9: error: stray '@' in program
   25 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ ls
      |         ^
a.cc:26:9: error: stray '@' in program
   26 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ vim a.cc
      |         ^
a.cc:29:9: error: stray '@' in program
   29 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
      |         ^
a.cc:33:9: error: stray '@' in program
   33 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ clang++ a.cc
      |         ^
a.cc:34:34: warning: multi-character character constant [-Wmultichar]
   34 | a.cc:6:8: error: no member named 'out' in namespace 'std'; did you mean 'cout'?
      |                                  ^~~~~
a.cc:34:53: warning: multi-character character constant [-Wmultichar]
   34 | a.cc:6:8: error: no member named 'out' in namespace 'std'; did you mean 'cout'?
      |                                                     ^~~~~
a.cc:34:73: warning: multi-character character constant [-Wmultichar]
   34 | a.cc:6:8: error: no member named 'out' in namespace 'std'; did you mean 'cout'?
      |                                                                         ^~~~~~
a.cc:39:7: warning: multi-character character constant [-Wmultichar]
   39 |       'cout' declared here
      |       ^~~~~~
a.cc:43:9: error: stray '@' in program
   43 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
      |         ^
a.cc:47:9: error: stray '@' in program
   47 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ clang++ a.cc
      |         ^
a.cc:48:9: error: stray '@' in program
   48 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ ./a.out
      |         ^
a.cc:51:9: error: stray '@' in program
   51 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
      |         ^
a.cc:55:9: error: stray '@' in program
   55 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ clang++ a.cc
      |         ^
a.cc:56:9: error: stray '@' in program
   56 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
      |         ^
a.cc:60:9: error: stray '@' in program
   60 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ ./a.out
      |         ^
a.cc:63:9: error: stray '@' in program
   63 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$
      |         ^
a.cc:64:9: error: stray '@' in program
   64 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
      |         ^
a.cc:68:9: error: stray '@' in program
   68 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ clang++ a.cc
      |         ^
a.cc:69:9: error: stray '@' in program
   69 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ ./a.out
      |         ^
a.cc:72:9: error: stray '@' in program
   72 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ ./a.out
      |         ^
a.cc:75:9: error: stray '@' in program
   75 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ ./a.out
      |         ^
a.cc:78:9: error: stray '@' in program
   78 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
      |         ^
a.cc:80:9: error: stray '@' in program
   80 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ vim b.cc
      |         ^
a.cc:83:9: error: stray '@' in program
   83 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ clang++ b.cc
      |         ^
a.cc:84:47: warning: multi-character character constant [-Wmultichar]
   84 | b.cc:5:3: error: use of undeclared identifier 'cin'; did you mean 'std::cin'?
      |                                               ^~~~~
a.cc:84:67: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
   84 | b.cc:5:3: error: use of undeclared identifier 'cin'; did you mean 'std::cin'?
      |                                                                   ^~~~~~~~~~
a.cc:89:7: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
   89 |       'std::cin' declared here
      |       ^~~~~~~~~~
a.cc:93:7: warning: multi-character literal with 48 characters exceeds 'int' size of 4 bytes
   93 |       'std::__1::vector<int, std::__1::allocator<int> >'
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:100:47: warning: multi-character character constant [-Wmultichar]
  100 | b.cc:8:5: error: use of undeclared identifier 'cin'; did you mean 'std::cin'?
      |                                               ^~~~~
a.cc:100:67: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
  100 | b.cc:8:5: error: use of undeclared identifier 'cin'; did you mean 'std::cin'?
      |                                                                   ^~~~~~~~~~
a.cc:105:7: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
  105 |       'std::cin' declared here
      |       ^~~~~~~~~~
a.cc:108:35: warning: multi-character character constant [-Wmultichar]
  108 | b.cc:9:10: error: no member named 'out' in namespace 'std'
      |                                   ^~~~~
a.cc:108:54: warning: multi-character character constant [-Wmultichar]
  108 | b.cc:9:10: error: no member named 'out' in namespace 'std'
      |                                                      ^~~~~
a.cc:112:9: error: stray '@' in program
  112 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
      |         ^
a.cc:116:9: error: stray '@' in program
  116 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ clang++ b.cc
      |         ^
a.cc:117:47: warning: multi-character character constant [-Wmultichar]
  117 | b.cc:5:3: error: use of undeclared identifier 'cin'; did you mean 'std::cin'?
      |                                               ^~~~~
a.cc:117:67: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
  117 | b.cc:5:3: error: use of undeclared identifier 'cin'; did you mean 'std::cin'?
      |                                                                   ^~~~~~~~~~
a.cc:122:7: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
  122 |       'std::cin' declared here
      |       ^~~~~~~~~~
a.cc:126:7: warning: multi-character literal with 48 characters exceeds 'int' size of 4 bytes
  126 |       'std::__1::vector<int, std::__1::allocator<int> >'
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:134:9: error: stray '@' in program
  134 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
      |         ^
a.cc:138:9: error: stray '@' in program
  138 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ clang++ b.cc
      |         ^
a.cc:140:7: warning: multi-character literal with 48 characters exceeds 'int' size of 4 bytes
  140 |       'std::__1::vector<int, std::__1::allocator<int> >'
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:148:9: error: stray '@' in program
  148 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
      |         ^
a.cc:152:9: error: stray '@' in program
  152 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ clang++ b.cc
      |         ^
a.cc:165:9: error: stray '@' in program
  165 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
      |         ^
a.cc:169:9: error: stray '@' in program
  169 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ clang++ b.cc
      |         ^
a.cc:170:9: error: stray '@' in program
  170 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ ./a.out
      |         ^
a.cc:174:9: error: stray '@' in program
  174 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ 5 4 2 1fg
      |         ^
a.cc:176:9: error: stray '@' in program
  176 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$
      |         ^
a.cc:177:9: error: stray '@' in program
  177 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
      |         ^
a.cc:181:9: error: stray '@' in program
  181 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ clang++ b.cc
      |         ^
a.cc:182:71: warning: multi-character character constant [-Wmultichar]
  182 | b.cc:9:29: error: too few arguments to function call, single argument '__x' was
      |                                                                       ^~~~~
a.cc:187:7: warning: multi-character literal with 9 characters exceeds 'int' size of 4 bytes
  187 |       'push_back' declared here
      |       ^~~~~~~~~~~
a.cc:191:27: warning: multi-character literal with 25 characters exceeds 'int' size of 4 bytes
  191 |       expanded from macro '_LIBCPP_INLINE_VISIBILITY'
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:192:66: warning: missing terminating " character
  192 | #define _LIBCPP_INLINE_VISIBILITY __attribute__ ((__visibility__("hidden...
      |                                                                  ^
a.cc:195:9: error: stray '@' in program
  195 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
      |         ^
a.cc:199:9: error: stray '@' in program
  199 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ clang++ b.cc
      |         ^
a.cc:200:9: error: stray '@' in program
  200 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ ./a.out
      |         ^
a.cc:207:9: error: stray '@' in program
  207 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
      |         ^
a.cc:211:9: error: stray '@' in program
  211 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ clang++ b.cc
      |         ^
a.cc:212:9: error: stray '@' in program
  212 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ ./a.out
      |         ^
a.cc:215:12: error: stray '@' in program
  215 | Yes[nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$
      |            ^
a.cc:216:9: error: stray '@' in program
  216 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
      |         ^
a.cc:220:9: error: stray '@' in program
  220 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ clang++ b.cc
      |         ^
a.cc:221:9: error: stray '@' in program
  221 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
      |         ^
a.cc:225:9: error: stray '@' in program
  225 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ clang++ b.cc
      |         ^
a.cc:235:9: error: stray '@' in program
  235 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ fg
      |         ^
a.cc:239:9: error: stray '@' in program
  239 | [nhiroki@nhiroki-macbookpro temp.CS6QCFRa]$ clang++ b.cc
      |         ^
a.cc:240:9: error: stray '@' in prog