Borderou de evaluare (job #1757021)
Utilizator | Data | 14 septembrie 2016 10:49:57 | |
---|---|---|---|
Problema | Struti | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void solve(int, int, int&, int&)’:
user.cpp:70:1: error: missing template arguments before ‘}’ token
}
^
user.cpp:70:1: error: expected ‘;’ before ‘}’ token
user.cpp: In function ‘void go()’:
user.cpp:87:28: error: expected ‘)’ before ‘cate’
else printf("%d\n" cate);
^
user.cpp:87:32: warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat=]
else printf("%d\n" cate);
^
user.cpp:74:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &n, &m, &p);
^
user.cpp:77:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i][j]);
^
user.cpp:81:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &dx, &dy);
^
user.cpp: In function ‘int main()’:
user.cpp:93:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("struti.in", "r", stdin);
^
user.cpp:94:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("struti.out", "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !