Pagini recente » Borderou de evaluare (job #2173449) | Borderou de evaluare (job #1745579) | Borderou de evaluare (job #2007472) | Borderou de evaluare (job #969664) | Borderou de evaluare (job #1244020)
Borderou de evaluare (job #1244020)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat=]
scanf("%d",x);
^
user.cpp:29:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (s1>=s)
^
user.cpp:5:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.in","r",stdin);
^
user.cpp:6:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.out","w",stdout);
^
user.cpp:9:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:12:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:22:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.in","r",stdin);
^
user.cpp:23:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:27:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",x);
^
user.cpp:33:49: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 16ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 28ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 16ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 16ms | 252kb | OK | 10 |
Punctaj total | 10 |