Pagini recente » Borderou de evaluare (job #2589147) | Borderou de evaluare (job #423069) | Borderou de evaluare (job #675656) | Borderou de evaluare (job #923107) | Borderou de evaluare (job #1434036)
Borderou de evaluare (job #1434036)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:16: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat=]
scanf("%d",n);
^
user.cpp:20:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat=]
scanf("%d",a[i]);
^
user.cpp:16:21: warning: unused variable ‘count’ [-Wunused-variable]
int xmax=200005,count=1,x1=1,n,x2,i,nr_cur=0;
^
user.cpp:16:29: warning: unused variable ‘x1’ [-Wunused-variable]
int xmax=200005,count=1,x1=1,n,x2,i,nr_cur=0;
^
user.cpp:16:36: warning: unused variable ‘x2’ [-Wunused-variable]
int xmax=200005,count=1,x1=1,n,x2,i,nr_cur=0;
^
user.cpp:14:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("invsc.in","r",stdin);
^
user.cpp:15:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("invsc.out","w",stdout);
^
user.cpp:17:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",n);
^
user.cpp:20:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",a[i]);
^
user.cpp:17:17: warning: ‘n’ is used uninitialized in this function [-Wuninitialized]
scanf("%d",n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 404kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 404kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |