Borderou de evaluare (job #2793208)

Utilizator BlaugranasEnal Gemaledin Blaugranas Data 3 noiembrie 2021 12:06:47
Problema Simpla Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:8:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 8 | for(f>>a>>b;A=a;A;s+=A%10,A/=10); | ~^~ main.cpp:8:21: warning: for increment expression has no effect [-Wunused-value] 8 | for(f>>a>>b;A=a;A;s+=A%10,A/=10); | ^ main.cpp:8:22: error: expected ')' before ';' token 8 | for(f>>a>>b;A=a;A;s+=A%10,A/=10); | ~ ^ | ) main.cpp:8:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 8 | for(f>>a>>b;A=a;A;s+=A%10,A/=10); | ^~~ main.cpp:8:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 8 | for(f>>a>>b;A=a;A;s+=A%10,A/=10); | ^ main.cpp:8:36: error: expected ';' before ')' token 8 | for(f>>a>>b;A=a;A;s+=A%10,A/=10); | ^ | ; Non zero exit status: 1

Ceva nu functioneaza?