Problem topsilver
User lad
Submission Time 2026-06-26 12:54:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

topsilver.cpp: In function ‘int main()’:
topsilver.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
topsilver.cpp:6:2: note: in expansion of macro ‘int’
6 | int cutoff, score;
| ^~~
topsilver.cpp:6:6: error: ‘cutoff’ was not declared in this scope
6 | int cutoff, score;
| ^~~~~~
topsilver.cpp:6:14: error: ‘score’ was not declared in this scope
6 | int cutoff, score;
| ^~~~~
topsilver.cpp:15:8: error: no match for ‘operator>>’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘const char [6]’)
15 | cout >> "lucky"
| ~~~~ ^~ ~~~~~~~
| | |
| | const char [6]
| std::ostream {aka std::basic_ostream<char>}
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:45,
from topsil