Borderou de evaluare (job #1705929)
Utilizator | Data | 21 mai 2016 08:46:19 | |
---|---|---|---|
Problema | Map | Status | done |
Runda | Teme Pregatire ACM Unibuc 2013 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void read()’:
user.cpp:52:42: error: expected ‘;’ before ‘)’ token
hash1[j]=(c[j-1]+ 2*hash1[j]))%MOD1;
^
user.cpp:47:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:50:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(c);
^
user.cpp: In function ‘int main()’:
user.cpp:69:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("map.in", "r", stdin);
^
user.cpp:70:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("map.out", "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !