foo.cc: In member function 'bool MyClass::p(MyClass&)':
foo.cc:15:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
15 | if(obj.x % 400 == 0 || (obj.x % 4 == 0 && obj.x % 100 != 0));
| ^~
foo.cc:16:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
16 | {
| ^
/nix/store/nydwzhllkq0a21dny69zdjczh6v275lb-binutils-2.40/bin/ld: /nix/store/8bmp6r3a0xfha3wj36phlc47clh9w81l-glibc-2.35-224/lib/crt1.o: in function `_start':
(.text+0x1b): undefined reference to `main'
collect2: error: ld returned 1 exit status
[Hydro](https://hydro.ac)提供评测服务