Pagini recente » Borderou de evaluare (job #1589384) | Borderou de evaluare (job #1403083) | Borderou de evaluare (job #383956) | Borderou de evaluare (job #2892889) | Borderou de evaluare (job #1976291)
Borderou de evaluare (job #1976291)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d",&M,&N);
^
user.cpp:9:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:13:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d",&v[i][j]);
^
user.cpp:15:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&K);
^
user.cpp:18:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d%d%d%d",&L1,&C1,&L2,&C2,&V);
^
user.cpp:18:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:18:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:18:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long int*’ [-Wformat=]
user.cpp:18:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long int*’ [-Wformat=]
user.cpp:58:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n",K-nr);
^
user.cpp:59:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d ",nr);
^
user.cpp:61:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d ",r[k]);
^
user.cpp:7:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elicop.in","r",stdin);
^
user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elicop.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",&M,&N);
^
user.cpp:13:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i][j]);
^
user.cpp:15:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&K);
^
user.cpp:18:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d",&L1,&C1,&L2,&C2,&V);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | Try again ! | 0 |
2 | 0ms | 288kb | Try again ! | 0 |
3 | 0ms | 288kb | Try again ! | 0 |
4 | 0ms | 284kb | Try again ! | 0 |
5 | 0ms | 288kb | Try again ! | 0 |
6 | 0ms | 292kb | Try again ! | 0 |
7 | 0ms | 308kb | Like a boss ! | 10 |
8 | 0ms | 308kb | Valoare incorecta cerinta 1 ! | 6 |
9 | 0ms | 324kb | Try again ! | 0 |
10 | 0ms | 320kb | Like a boss ! | 10 |
Punctaj total | 26 |