Borderou de evaluare (job #2355938)
Utilizator | Data | 26 februarie 2019 13:32:00 | |
---|---|---|---|
Problema | Reteta2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int separare(char*, char (*)[40], int*)':
main.cpp:12:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<strlen(a);i++)
~^~~~~~~~~~
main.cpp:31:9: error: 'cantitsate' was not declared in this scope
cantitsate[j]= cantitate[j]+(a[i]-'0')*10+a[i+1]-'0',i++;
^~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:42:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<strlen(a);i++)
~^~~~~~~~~~
main.cpp:55:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int k=j;k<=i;k++)
^~~
main.cpp:61:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
g<< timp <<'\n';
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !