Pagini recente » Borderou de evaluare (job #2749531) | Borderou de evaluare (job #2883111) | Borderou de evaluare (job #505974) | Borderou de evaluare (job #2665976) | Borderou de evaluare (job #1565091)
Borderou de evaluare (job #1565091)
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:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("suma4.in","r",stdin);
^
user.cpp:20:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("suma4.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 | 524kb | OK | 10 |
2 | 0ms | 556kb | OK | 10 |
3 | 0ms | 596kb | OK | 10 |
4 | 0ms | 688kb | Primul numar corect | 1 |
5 | 12ms | 792kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 8ms | 796kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 12ms | 804kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 16ms | 796kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 16ms | 796kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 468kb | OK | 10 |
Punctaj total | 41 |