Borderou de evaluare (job #1286660)

Utilizator adnionutCojocaru Ionut adnionut Data 7 decembrie 2014 12:58:43
Problema Magic Sequence Status done
Runda Algoritmiada 2015 - Runda 1, Juniori Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:20:7: warning: multi-character character constant [-Wmultichar] g<<'YES'; ^ user.cpp:22:7: warning: multi-character character constant [-Wmultichar] g<<'NO'; ^ user.cpp: In function ‘int main()’: user.cpp:11:9: error: ‘i’ was not declared in this scope for(i=1;i<=t;i++) ^ user.cpp:13:7: error: ‘n’ was not declared in this scope f>>n; ^ user.cpp:14:8: error: ‘j’ was not declared in this scope for(j=0;j<n;j++) ^ user.cpp:15:8: error: ‘a’ was not declared in this scope f>>a[j]; ^ user.cpp:16:16: error: ‘k’ was not declared in this scope for (i=n;i>=k;i--) ^ user.cpp:17:5: error: ‘a’ was not declared in this scope a[i]=a[i-1]; ^ user.cpp:18:5: error: ‘a’ was not declared in this scope a[k-1]=x; ^ user.cpp:18:7: error: ‘k’ was not declared in this scope a[k-1]=x; ^ user.cpp:18:12: error: ‘x’ was not declared in this scope a[k-1]=x; ^ user.cpp:19:6: error: expected primary-expression before ‘)’ token if() ^

Ceva nu functioneaza?