Borderou de evaluare (job #2644619)
Utilizator | Data | 25 august 2020 11:01:45 | |
---|---|---|---|
Problema | Raliu | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:11:20: error: conflicting declaration 'long long unsigned int sum'
unsigned long long sum;
^~~
main.cpp:8:22: note: previous declaration as 'long long int sum'
long long t,n,i,ok,a,sum,ind;
^~~
main.cpp: In function 'int main()':
main.cpp:15:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("raliu.in","r",stdin);
^
main.cpp:16:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("raliu.out","w",stdout);
^
main.cpp:18:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lli",&t);
^
main.cpp:21:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lli",&n);
^
main.cpp:24:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lli",&s[i]);
^
main.cpp:27:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lli",&a);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !