Problem | rightangtri |
---|---|
User | blob |
Submission Time | 2023-11-10 14:26:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
rightangtri.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
rightangtri.cpp: In function ‘int main()’:
rightangtri.cpp:5:2: error: ‘cin’ was not declared in this scope
5 | cin >> n;
| ^~~
rightangtri.cpp:9:22: error: a function-definition is not allowed here before ‘{’ token
9 | int increment(int a){
| ^
rightangtri.cpp:12:13: error: a function-definition is not allowed here before ‘{’ token
12 | int main(){
| ^
rightangtri.cpp:17:1: error: expected ‘}’ at end of input
17 | }
| ^
rightangtri.cpp:7:17: note: to match this ‘{’
7 | while (n < 501){
| ^
rightangtri.cpp:17:1: error: expected ‘}’ at end of input
17 | }
| ^
rightangtri.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^