Borderou de evaluare (job #1212319)
Utilizator | Data | 24 iulie 2014 13:48:27 | |
---|---|---|---|
Problema | Kss | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘char* solve(int, int, char*)’:
user.cpp:82:40: error: ‘strcpy’ was not declared in this scope
strcpy(result, "-1");
^
user.cpp: In function ‘void read()’:
user.cpp:100:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:102:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &K);
^
user.cpp:104:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", S + 1); //to start indexing from 1
^
user.cpp: In function ‘int main()’:
user.cpp:111:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(INI, "r", stdin);
^
user.cpp:112:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(OUTI, "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !