Borderou de evaluare (job #1735096)
Utilizator | Data | 28 iulie 2016 23:36:43 | |
---|---|---|---|
Problema | Por Costel si Livada | Status | done |
Runda | Arhiva ICPC | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:4:0: warning: ignoring #pragma warning [-Wunknown-pragmas]
#pragma warning(disable : 4996)
^
user.cpp: In function ‘void initCostManager(int)’:
user.cpp:66:32: error: ‘memset’ was not declared in this scope
memset(head + 1, NIL, 4 * M);
^
user.cpp: In function ‘int main()’:
user.cpp:79:35: error: ‘memset’ was not declared in this scope
memset(dp[0] + 1, 0, 4 * M);
^
user.cpp:70:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("livada2.in", "rb", stdin);
^
user.cpp:71:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("livada2.out", "wb", stdout);
^
user.cpp:74:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &numTests);
^
user.cpp:77:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &M);
^
user.cpp:84:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", v + j);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !