Pagini recente » Borderou de evaluare (job #394538) | Borderou de evaluare (job #1951554) | Borderou de evaluare (job #942265) | Borderou de evaluare (job #1928988) | Borderou de evaluare (job #1321094)
Borderou de evaluare (job #1321094)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:10:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&m);
^
user.cpp:11:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
for (i=0;i<n;i++) scanf("%d",&M[i][0]);
^
user.cpp:33:39: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
else cout<<max(M[s-1][j],M[d-1-1<<j][j])<<'\n';
^
user.cpp:7:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("saracsaurege.in","r",stdin);
^
user.cpp:8:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("saracsaurege.out","w",stdout);
^
user.cpp:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:11:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=0;i<n;i++) scanf("%d",&M[i][0]);
^
user.cpp:22:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&s);
^
user.cpp:23:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&d);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 420kb | Incorect | 0 |
2 | 0ms | 416kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 12ms | 432kb | Incorect | 0 |
4 | 0ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 408kb | Incorect | 0 |
6 | 0ms | 404kb | Incorect | 0 |
7 | 0ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 404kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 384kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |