Pagini recente » Borderou de evaluare (job #1564747) | Borderou de evaluare (job #2714991) | Borderou de evaluare (job #1514219) | Borderou de evaluare (job #1931448) | Borderou de evaluare (job #1041495)
Borderou de evaluare (job #1041495)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:31: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld%ld%ld",&n,&m,&k);k++;
^
user.cpp:9:31: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:9:31: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:10:64: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for(i=1;i<=n;i++){for(j=1;j<=m;j++){scanf("%ld",&a[i][j][0]);}}
^
user.cpp:11:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld%ld%ld%ld",&i,&j,&x,&y);
^
user.cpp:11:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:11:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:11:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 5 has type ‘int*’ [-Wformat=]
user.cpp:17:28: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld",a[x][y][k]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | Incorect | 0 |
2 | 0ms | 308kb | OK | 10 |
3 | 0ms | 324kb | OK | 10 |
4 | 0ms | 332kb | OK | 10 |
5 | 4ms | 384kb | OK | 10 |
6 | 4ms | 392kb | OK | 10 |
7 | 4ms | 436kb | OK | 10 |
8 | 4ms | 716kb | OK | 10 |
9 | 4ms | 560kb | OK | 10 |
10 | 4ms | 604kb | OK | 10 |
Punctaj total | 90 |