Pagini recente » Borderou de evaluare (job #421659) | Borderou de evaluare (job #2350674) | Borderou de evaluare (job #31292) | Borderou de evaluare (job #86360) | Borderou de evaluare (job #2222862)
Borderou de evaluare (job #2222862)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for(j=1; j<=n; j++)
^~~
user.cpp:15:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
sort(v+1, v+n+1);
^~~~
user.cpp:6:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{ freopen("produs4.in", "r",stdin);
^
user.cpp:7:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("produs4.out", "w",stdout);
^
user.cpp:10:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:14:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 128ms | 792kb | OK | 100 |
Punctaj total | 100 |