Problem topsilver
User Jaysonwee22
Submission Time 2026-06-26 14:14:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

topsilver.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
topsilver.cpp: In function ‘int main()’:
topsilver.cpp:8:5: error: ‘ios_base’ has not been declared
8 | ios_base::sync_with_stdio(0);
| ^~~~~~~~
topsilver.cpp:9:5: error: ‘cout’ was not declared in this scope
9 | cout.tie(0);
| ^~~~
topsilver.cpp:10:5: error: ‘cin’ was not declared in this scope
10 | cin.tie(0);
| ^~~
topsilver.cpp:14:2: error: ‘string’ was not declared in this scope
14 | string s = "lucky";
| ^~~~~~
topsilver.cpp:15:18: error: ‘n’ was not declared in this scope
15 | for(int i=0; i<=n;i++){
| ^
topsilver.cpp:16:9: error: ‘s’ was not declared in this scope
16 | s = s+ "*";
| ^