Pagini recente » Borderou de evaluare (job #2879428) | Borderou de evaluare (job #2244313) | Borderou de evaluare (job #1390652) | Borderou de evaluare (job #904) | Borderou de evaluare (job #2053198)
Borderou de evaluare (job #2053198)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zigsort.in", "r", stdin);
^
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("zigsort.out", "w", stdout);
^
user.cpp:9:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:11:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:12:56: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= n ; ++i) scanf("%d", &a[i]);
^
user.cpp:28:35: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(int j = pos - 1; j >= t ; --j)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 384ms | 1808kb | Vectorul A[] nu e zigsortat! | 0 |
Punctaj total | 0 |