| Problem | hammeringnails |
|---|---|
| User | Hapi |
| Submission Time | 2026-11-04 11:44:31 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
hammeringnails.cpp: In function ‘int main()’:
hammeringnails.cpp:4:18: error: expected ‘;’ before ‘N’
4 | int N, i, j; cin N;
| ^~
| ;
hammeringnails.cpp:5:20: error: expected ‘;’ before ‘)’ token
5 | for (i=0, i<N, i++) {
| ^
| ;
hammeringnails.cpp:8:11: error: expected ‘;’ before ‘:’ token
8 | cout << N:
| ^
| ;
hammeringnails.cpp:8:11: error: expected primary-expression before ‘:’ token
hammeringnails.cpp:8:11: error: expected ‘)’ before ‘:’ token
8 | cout << N:
| ^
| )
hammeringnails.cpp:5:6: note: to match this ‘(’
5 | for (i=0, i<N, i++) {
| ^
hammeringnails.cpp:8:11: error: expected primary-expression before ‘:’ token
8 | cout << N:
| ^