Pagini recente » Borderou de evaluare (job #1908354) | Borderou de evaluare (job #3287947) | Borderou de evaluare (job #2795862) | Borderou de evaluare (job #1153839) | Borderou de evaluare (job #1563772)
Borderou de evaluare (job #1563772)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&x[i]);
^
user.cpp:18:73: warning: unused variable ‘nr4’ [-Wunused-variable]
int i,j,nrniv=1,nrcur=1,num,minim=0x3ffffff,nrsec,x1,y1,nr1,nr2,nr3,nr4;
^
user.cpp:19:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("suma.in","r",stdin);
^
user.cpp:20:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("suma.out","w",stdout);
^
user.cpp:21:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:23:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x[i]);
^
user.cpp:75:27: warning: ‘y1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
nr1=nrsec+nrniv*(x1-1)+y1;
^
user.cpp:75:24: warning: ‘x1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
nr1=nrsec+nrniv*(x1-1)+y1;
^
user.cpp:75:14: warning: ‘nrsec’ may be used uninitialized in this function [-Wmaybe-uninitialized]
nr1=nrsec+nrniv*(x1-1)+y1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 384kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |