Borderou de evaluare (job #2186167)

Utilizator CizmeleCNILC.Alexandru.Nitu.Mesca Cizmele Data 25 martie 2018 13:30:05
Problema Eqprob Status done
Runda Agm 2018 Runda 2 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:17: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for (j = 1 ; j <= x ; ++j) ^~~ user.cpp:18:21: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’ if(x==1) ^~ user.cpp:10:49: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("eqprob.in" , "r" , stdin); ^ user.cpp:11:51: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("eqprob.out" , "w" , stdout); ^ user.cpp:12:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &T); ^ user.cpp:15:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &x); ^ user.cpp:17:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c" , &a[j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1320kbIncorect0
Punctaj total0

Ceva nu functioneaza?