#include <iostream> using namespace std; int main(){ int a, b; while (scanf("%d %d", &a, &b) != EOF){ printf("%d", a % b); } } /* F:\temp\22469881.3411\Main.c:2:20: error: iostream: No such file or directory F:\temp\22469881.3411\Main.c:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'namespace' F:\temp\22469881.3411\Main.c: In function 'main': F:\temp\22469881.3411\Main.c:6: error: 'EOF' undeclared (first use in this function) F:\temp\22469881.3411\Main.c:6: error: (Each undeclared identifier is reported only once F:\temp\22469881.3411\Main.c:6: error: for each function it appears in.) */ |
Double click to view unformatted code.