Pagini recente » Borderou de evaluare (job #353746) | Borderou de evaluare (job #949889) | Borderou de evaluare (job #1802376) | Borderou de evaluare (job #2337750) | Borderou de evaluare (job #1732852)
Borderou de evaluare (job #1732852)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:52:54: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
for( j = 1; j <= N; ++j ) scanf("%d",&a[i][j]);
^
user.cpp:55:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
for( i = 1; i <= K; ++i ) scanf("%d",&C[i]);
^
user.cpp:45:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sudest.in","r",stdin);
^
user.cpp:46:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sudest.out","w",stdout);
^
user.cpp:50:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&N);
^
user.cpp:52:55: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for( j = 1; j <= N; ++j ) scanf("%d",&a[i][j]);
^
user.cpp:54:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&K);
^
user.cpp:55:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for( i = 1; i <= K; ++i ) scanf("%d",&C[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | OKAY! | 10 |
2 | 0ms | 304kb | OKAY! | 10 |
3 | 0ms | 312kb | OKAY! | 10 |
4 | 0ms | 316kb | OKAY! | 10 |
5 | 0ms | 324kb | OKAY! | 10 |
6 | 0ms | 336kb | OKAY! | 10 |
7 | 0ms | 348kb | OKAY! | 10 |
8 | 0ms | 352kb | OKAY! | 10 |
9 | 0ms | 364kb | OKAY! | 10 |
10 | 0ms | 292kb | OKAY! | 10 |
Punctaj total | 100 |