Borderou de evaluare (job #2445750)
Utilizator | Data | 5 august 2019 14:10:33 | |
---|---|---|---|
Problema | Overpower | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'long long int solve(long long int, long long int)':
main.cpp:76:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(clock()>0.9*CLOCKS_PER_SEC)break;s
^~
main.cpp:76:45: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(clock()>0.9*CLOCKS_PER_SEC)break;s
^
main.cpp:76:45: error: 's' was not declared in this scope
main.cpp: In function 'int main()':
main.cpp:85:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("overpower.in","r",stdin);
^
main.cpp:86:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("overpower.out","w",stdout);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !