Submission #6779852
Source Code Expand
#include<iostream> using namespace std; int main(){ int y,m,b,q,w,e,r,t,u,i,o; cin>>q>>w>>e>>r>>t>>u>>i>>o; y=q*1000+w*100+e*10+r; m=t*10+u; b=i*10+o; if(y%m%b=0) cout<<y<<"/"<<m<<"/"<<b; return 0; }
Submission Info
Submission Time | |
---|---|
Task | B - 割り切れる日付 |
User | luogu_bot5 |
Language | C++ (GCC 5.4.1) |
Score | 0 |
Code Size | 231 Byte |
Status | CE |
Compile Error
./Main.cpp: In function ‘int main()’: ./Main.cpp:9:13: error: lvalue required as left operand of assignment if(y%m%b=0) ^