Pagini recente » Cod sursa (job #2501983) | Borderou de evaluare (job #1117813) | Borderou de evaluare (job #393584) | Borderou de evaluare (job #985005) | Borderou de evaluare (job #1597110)
Borderou de evaluare (job #1597110)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:43:54: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘unsigned char*’ [-Wformat=]
for( j = 1; j <= m; ++j ) scanf("%d",&v[i][j]);
^
user.cpp:38:21: warning: unused variable ‘s’ [-Wunused-variable]
int n, m, i, j, s, t, d, k, x1, x2, ma1, ma2;
^
user.cpp:38:24: warning: unused variable ‘t’ [-Wunused-variable]
int n, m, i, j, s, t, d, k, x1, x2, ma1, ma2;
^
user.cpp:38:27: warning: unused variable ‘d’ [-Wunused-variable]
int n, m, i, j, s, t, d, k, x1, x2, ma1, ma2;
^
user.cpp:38:30: warning: unused variable ‘k’ [-Wunused-variable]
int n, m, i, j, s, t, d, k, x1, x2, ma1, ma2;
^
user.cpp:35:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lacusta.in","r",stdin);
^
user.cpp:36:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lacusta.out","w",stdout);
^
user.cpp:41:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:43: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",&v[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 12ms | 604kb | OK | 10 | 30 |
2 | 8ms | 536kb | OK | 10 |
3 | 0ms | 348kb | OK | 10 |
4 | 0ms | 348kb | OK | 10 | 30 |
5 | 0ms | 416kb | OK | 10 |
6 | 0ms | 368kb | OK | 10 |
7 | 0ms | 332kb | OK | 10 | 40 |
8 | 0ms | 396kb | OK | 10 |
9 | 0ms | 412kb | OK | 10 |
10 | 12ms | 572kb | OK | 10 |
Punctaj total | 100 |