Borderou de evaluare (job #2053198)

Utilizator giotoPopescu Ioan gioto Data 31 octombrie 2017 16:54:04
Problema Zigsort Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

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
1384ms1808kbVectorul A[] nu e zigsortat!0
Punctaj total0

Ceva nu functioneaza?