Problem | duckhunt0 |
---|---|
User | AlphanumericUsername |
Submission Time | 2025-01-01 15:10:32 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
duckhunt0.cpp: In function ‘void duckhunt1()’:
duckhunt0.cpp:60:12: error: return-statement with a value, in function returning ‘void’ [-fpermissive]
60 | return 0;
| ^
duckhunt0.cpp: In function ‘void duckhunt2()’:
duckhunt0.cpp:115:12: error: return-statement with a value, in function returning ‘void’ [-fpermissive]
115 | return 0;
| ^
duckhunt0.cpp: At global scope:
duckhunt0.cpp:362:27: error: conflicting declaration ‘std::pair<long long int, std::pair<long long int, long long int> > p [300000]’
362 | pair<int, pair<int, int>> p[300000];
| ^
duckhunt0.cpp:241:5: note: previous declaration as ‘long long int p [500005]’
241 | int p[500005];
| ^
duckhunt0.cpp: In function ‘std::pair<long long int, std::pair<long long int, long long int> > get_p(long long int)’:
duckhunt0.cpp:365:12: error: request for member ‘f