Borderou de evaluare (job #2119533)
Utilizator | Data | 1 februarie 2018 13:27:16 | |
---|---|---|---|
Problema | Street Crypto | Status | done |
Runda | Arhiva ICPC | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:63:5: error: redefinition of ‘int main()’
int main()
^
user.cpp:49:5: note: ‘int main()’ previously defined here
int main()
^
user.cpp:67:17: error: ‘t’ was not declared in this scope
scanf("%d",&t);
^
user.cpp:70:12: error: ‘rd’ was not declared in this scope
rd();
^
user.cpp:71:16: error: ‘solve1’ was not declared in this scope
solve1();
^
user.cpp:72:16: error: ‘solve2’ was not declared in this scope
solve2();
^
user.cpp:73:14: error: ‘prin’ was not declared in this scope
prin();
^
user.cpp: In function ‘void citeste()’:
user.cpp:18:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:19:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++) scanf("%lld",&v[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:51:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("streetcrypto.in","r",stdin);
^
user.cpp:52:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("streetcrypto.out","w",stdout);
^
user.cpp:54:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp: In function ‘int main()’:
user.cpp:65:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("streetcrypto.in","r",stdin);
^
user.cpp:66:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("streetcrypto.out","w",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !