Pagini recente » Borderou de evaluare (job #118925) | Borderou de evaluare (job #2214697) | Borderou de evaluare (job #2184289) | Borderou de evaluare (job #1580765) | Borderou de evaluare (job #1742042)
Borderou de evaluare (job #1742042)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:54: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘ball* {aka short unsigned int*}’ [-Wformat=]
for( j = 1; j <= m; ++j ) scanf("%d",&a[i][j]);
^
user.cpp:28:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bila.in","r",stdin);
^
user.cpp:29:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bila.out","w",stdout);
^
user.cpp:33:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:35:55: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for( j = 1; j <= m; ++j ) scanf("%d",&a[i][j]);
^
user.cpp: In function ‘void get_best(int, int)’:
user.cpp:14:21: warning: ‘way’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int k,maxim=INF,way;
^
user.cpp: In function ‘int main()’:
user.cpp:31:23: warning: ‘HMIN’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int i,j,n,m,MAX=0,HMIN;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 288kb | OK | 10 |
4 | 0ms | 300kb | OK | 10 |
5 | 0ms | 328kb | OK | 10 |
6 | 4ms | 344kb | OK | 10 |
7 | 4ms | 336kb | OK | 10 |
8 | 4ms | 336kb | OK | 10 |
9 | 4ms | 328kb | OK | 10 |
10 | 4ms | 344kb | OK | 10 |
Punctaj total | 100 |