#include<iostream> using namespace std; int main(void){ int n,m; while(scanf("%d %d",&a,&b)!=EOF)){ cout<<n%m<<endl; } } /* F:\temp\21665676.92663\Main.cc: In function 'int main()': F:\temp\21665676.92663\Main.cc:6: error: 'a' was not declared in this scope F:\temp\21665676.92663\Main.cc:6: error: 'b' was not declared in this scope F:\temp\21665676.92663\Main.cc:6: error: 'scanf' was not declared in this scope F:\temp\21665676.92663\Main.cc:6: error: 'EOF' was not declared in this scope F:\temp\21665676.92663\Main.cc:6: error: expected primary-expression before ')' token F:\temp\21665676.92663\Main.cc:6: error: expected ';' before ')' token */ |
Double click to view unformatted code.