Borderou de evaluare (job #2642594)
Utilizator | Data | 16 august 2020 11:37:12 | |
---|---|---|---|
Problema | Tango | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int exponentiere()':
main.cpp:21:14: error: 'DZZZaux' was not declared in this scope
aux=(DZZZaux*x[8])%m;
^~~~~~~
main.cpp: In function 'int main()':
main.cpp:42:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if(v[j]<=i)
^
main.cpp:30:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("tango.in","r",stdin);
^
main.cpp:31:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("tango.out","w",stdout);
^
main.cpp:33:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
main.cpp:36:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !