Borderou de evaluare (job #1134204)
Utilizator | Data | 6 martie 2014 10:39:13 | |
---|---|---|---|
Problema | Ecuatii 2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:17: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[256]’ [-Wformat=]
scanf("%s\n",&s);
^
user.cpp:20:21: error: ‘strlen’ was not declared in this scope
strcpy(n,n+strlen(n)+1);
^
user.cpp:20:24: error: ‘strcpy’ was not declared in this scope
strcpy(n,n+strlen(n)+1);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !