Pagini recente » Borderou de evaluare (job #715387) | Borderou de evaluare (job #75352) | Borderou de evaluare (job #2914486) | Borderou de evaluare (job #2742688) | Borderou de evaluare (job #1421243)
Borderou de evaluare (job #1421243)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &t);
^
user.cpp:42:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &n);
^
user.cpp:44:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &v[j]);
^
user.cpp:21:21: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
vizitat[poz] = 1;
^
user.cpp:13:24: note: ‘poz’ was declared here
int min = 2000001, poz;
^
user.cpp:21:21: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
vizitat[poz] = 1;
^
user.cpp:13:24: note: ‘poz’ was declared here
int min = 2000001, poz;
^
user.cpp:34:21: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
vizitat[poz] = 1;
^
user.cpp:26:25: note: ‘poz’ was declared here
int max = -2000001, poz;
^
user.cpp:34:21: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
vizitat[poz] = 1;
^
user.cpp:26:25: note: ‘poz’ was declared here
int max = -2000001, poz;
^
user.cpp:34:21: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
vizitat[poz] = 1;
^
user.cpp:26:25: note: ‘poz’ was declared here
int max = -2000001, poz;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 92ms | 680kb | Incorect | 0 |
Punctaj total | 0 |