Problem swords
User kkai
Submission Time 2024-02-19 22:26:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swords.cpp: In function ‘int main()’:
swords.cpp:9:41: error: expected ‘;’ before ‘}’ token
9 | cin>>swords[i].first>>swords[i].second
| ^
| ;
10 | }
| ~
swords.cpp:17:27: error: expected ‘;’ before ‘count’
17 | maxd = swords[i].second
| ^
| ;
18 | count += 1
| ~~~~~