Pagini recente » Borderou de evaluare (job #582974) | Borderou de evaluare (job #2622987) | Borderou de evaluare (job #1864562) | Borderou de evaluare (job #1067491) | Borderou de evaluare (job #2279722)
Borderou de evaluare (job #2279722)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:9:24: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
scanf("%d %d",&n,&m);
^
main.cpp:9:24: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
main.cpp:12:26: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
scanf("%d",&a[i][j]);
^
main.cpp:13:18: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
scanf("%d",&k);
^
main.cpp:20:50: 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,&p);
^
main.cpp:20:50: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
main.cpp:20:50: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long int*' [-Wformat=]
main.cpp:20:50: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'long int*' [-Wformat=]
main.cpp:20:50: warning: format '%d' expects argument of type 'int*', but argument 6 has type 'long int*' [-Wformat=]
main.cpp:96:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
printf("%d\n%d ",s,r);
^
main.cpp:96:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
main.cpp:98:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
printf("%d ",v[i]);
^
main.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);
^
main.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);
^
main.cpp:9:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
main.cpp:12:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i][j]);
^
main.cpp:13:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k);
^
main.cpp:20:51: 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,&p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Try again ! | 0 |
2 | 2ms | 131kb | Try again ! | 0 |
3 | 2ms | 131kb | Try again ! | 0 |
4 | 2ms | 131kb | Try again ! | 0 |
5 | 2ms | 131kb | Try again ! | 0 |
6 | 3ms | 131kb | Try again ! | 0 |
7 | 4ms | 262kb | Try again ! | 0 |
8 | 4ms | 262kb | Try again ! | 0 |
9 | 5ms | 262kb | Try again ! | 0 |
10 | 5ms | 262kb | Try again ! | 0 |
Punctaj total | 0 |