Skip to content

Instantly share code, notes, and snippets.

View willylin0525-create's full-sized avatar

willylin0525-create

  • Joined Oct 8, 2025
View GitHub Profile
#include <iostream>
using namespace std;
int main() {
int n ,m ;
cin>>n>>m;
if (n%1!=0 or m%1!=0){
cout<<"ERROR";
}
else {
for (int i=0;i<=n;i+=1){