Borderou de evaluare (job #1284240)

Utilizator tudorcomanTudor Coman tudorcoman Data 6 decembrie 2014 13:28:36
Problema Triplet 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:18:27: error: ‘k’ was not declared in this scope printf("%d -%d 0",k+1,k); ^ user.cpp:20:29: error: ‘k’ was not declared in this scope printf("-%d -%d -1",k+1,k); ^ user.cpp: In function ‘void inout(bool)’: user.cpp:8:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("triplet.in","r",stdin); ^ user.cpp:9:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("triplet.out","w",stdout); ^ user.cpp: In function ‘int main()’: user.cpp:16:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^

Ceva nu functioneaza?