Job 20084

Owner
Mihai Zsisku
Problem
nMultiple
Source
0.69KB
Result
Compile error (Non-zero exit status: 1)

Compiler output

prog.cpp: In function 'int main()':
prog.cpp:15:5: error: expected ';' before 'int'
     int st, dr;
     ^
prog.cpp:15:15: warning: statement has no effect [-Wunused-value]
     int st, dr;
               ^
prog.cpp:21:13: error: 'st' was not declared in this scope
             st=0;
             ^
prog.cpp:22:13: error: 'dr' was not declared in this scope
             dr=i;
             ^
prog.cpp:26:13: error: 'st' was not declared in this scope
             st=mods[sums];
             ^
prog.cpp:27:13: error: 'dr' was not declared in this scope
             dr=i;
             ^
prog.cpp:32:11: error: 'dr' was not declared in this scope
     cout<<dr-st+1<<"\n";
           ^
prog.cpp:32:14: error: 'st' was not declared in this scope
     cout<<dr-st+1<<"\n";
              ^

Questions?

Sponsors Gold