Pagini recente » Borderou de evaluare (job #1408422) | Borderou de evaluare (job #868173) | Borderou de evaluare (job #17981) | Borderou de evaluare (job #3183178) | Borderou de evaluare (job #1434035)
Borderou de evaluare (job #1434035)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:16: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat=]
scanf("%d",n);
^
user.cpp:19:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat=]
scanf("%d",a[i]);
^
user.cpp:15:21: warning: unused variable ‘count’ [-Wunused-variable]
int xmax=200005,count=1,x1=1,n,x2,i,nr_cur=0;
^
user.cpp:15:29: warning: unused variable ‘x1’ [-Wunused-variable]
int xmax=200005,count=1,x1=1,n,x2,i,nr_cur=0;
^
user.cpp:15: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:16:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",n);
^
user.cpp:19:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",a[i]);
^
user.cpp:16:17: warning: ‘n’ is used uninitialized in this function [-Wuninitialized]
scanf("%d",n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 392kb | 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 | 392kb | 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 | 396kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |