Borderou de evaluare (job #1515127)
Utilizator | Data | 1 noiembrie 2015 10:37:20 | |
---|---|---|---|
Problema | Ephie | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘bool operator<(const date&, const date&)’:
user.cpp:12:1: error: expected ‘;’ before ‘}’ token
}
^
user.cpp: In function ‘int main()’:
user.cpp:44:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ephie.in","r",stdin);
^
user.cpp:45:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ephie.out","w",stdout);
^
user.cpp:46:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&k);
^
user.cpp:47:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=n;i++) scanf("%d %d",&t[i].s,&t[i].n);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !