Pagini recente » Borderou de evaluare (job #1259396) | Borderou de evaluare (job #936147) | Borderou de evaluare (job #1558480) | Borderou de evaluare (job #1955811) | Borderou de evaluare (job #1774278)
Borderou de evaluare (job #1774278)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:17: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat=]
scanf("%d",m);
^
user.cpp:36:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat=]
scanf("%d %d ",a,&b);
^
user.cpp:25:13: warning: unused variable ‘j’ [-Wunused-variable]
int h,i,j,k,a,b,m;
^
user.cpp:25:15: warning: unused variable ‘k’ [-Wunused-variable]
int h,i,j,k,a,b,m;
^
user.cpp:26:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.in","r",stdin);
^
user.cpp:27:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.out","w",stdout);
^
user.cpp:28:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&n);
^
user.cpp:31:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&v[i]);
^
user.cpp:33:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",m);
^
user.cpp:36:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ",a,&b);
^
user.cpp:33:18: warning: ‘m’ is used uninitialized in this function [-Wuninitialized]
scanf("%d",m);
^
user.cpp:36:29: warning: ‘a’ may be used uninitialized in this function [-Wmaybe-uninitialized]
scanf("%d %d ",a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
2 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
3 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
4 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
5 | 0ms | 276kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
6 | 12ms | 432kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 28ms | 628kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
8 | 28ms | 628kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 32ms | 628kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 32ms | 628kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |