Borderou de evaluare (job #1110826)

Utilizator VladutZ94FMI Chichirau Vlad Vasile VladutZ94 Data 18 februarie 2014 13:38:12
Problema String Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void verificare()’: user.cpp:22:24: error: ‘strstr’ was not declared in this scope if(strstr(s,solutie)=0) ^ user.cpp: In function ‘void adaugare()’: user.cpp:28:23: error: ‘strcat’ was not declared in this scope strcat(solutie,'a'); ^ user.cpp: In function ‘int main()’: user.cpp:33:28: error: expected ‘,’ or ‘;’ before ‘:’ token ifstream f("string.in"): ^ user.cpp:40:12: error: incompatible types in assignment of ‘char’ to ‘char [10001]’ solutie='a'; ^ user.cpp:42:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(ok=false) ^ user.cpp:45:9: error: ‘a’ was not declared in this scope a=astrlen(solutie); ^ user.cpp:45:26: error: ‘astrlen’ was not declared in this scope a=astrlen(solutie); ^ user.cpp:46:13: error: ‘i’ was not declared in this scope for(i=a-1;i>=0;i--) ^ user.cpp:49:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(ok=false) break; ^ user.cpp:50:17: error: ‘j’ was not declared in this scope for(j=a-1;j>=i;j--) ^ user.cpp:53:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(ok=false) break; ^ user.cpp:60:1: error: expected ‘}’ at end of input } ^

Ceva nu functioneaza?