Pagini recente » Borderou de evaluare (job #2131581) | Borderou de evaluare (job #1269408) | Borderou de evaluare (job #1677238) | Borderou de evaluare (job #266018) | Borderou de evaluare (job #2186167)
Borderou de evaluare (job #2186167)
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 |
1 | 0ms | 1320kb | Incorect | 0 |
Punctaj total | 0 |