0_0_16571807_8836.cpp: In function 'int main()': 0_0_16571807_8836.cpp:41:48: error: 'r' was not declared in this scope while(scanf("%d%d%d",&n,&c,&m)!=EOF,(n||c||r)){ ^