Borderou de evaluare (job #1251445)
Utilizator | Data | 29 octombrie 2014 14:55:32 | |
---|---|---|---|
Problema | Sum | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:1: error: ‘_int64’ does not name a type
_int64 s;
^
user.cpp: In function ‘void biti()’:
user.cpp:30:2: error: ‘s’ was not declared in this scope
s = ((n*2)*(n*2+1))/2;
^
user.cpp: In function ‘int main()’:
user.cpp:57:3: error: ‘s’ was not declared in this scope
s = 0;
^
user.cpp:49:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sum.in", "r", stdin);
^
user.cpp:50:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sum.out", "w", stdout);
^
user.cpp:51:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%zd", &a);
^
user.cpp:54:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%zd", &n);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !