Pagini recente » Borderou de evaluare (job #2499362) | Borderou de evaluare (job #1961595) | Borderou de evaluare (job #186249) | Borderou de evaluare (job #1704470) | Borderou de evaluare (job #1026655)
Borderou de evaluare (job #1026655)
Raport evaluator
Compilare:
user.cpp: In function ‘void compute()’:
user.cpp:56:17: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&nd);
^
user.cpp:58:43: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
{ scanf("%ld %ld %ld %ld",&xa,&ya,&xb,&yb);
^
user.cpp:58:43: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:58:43: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:58:43: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 5 has type ‘int*’ [-Wformat=]
user.cpp:83:22: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n",np);
^
user.cpp: In function ‘int main()’:
user.cpp:90:16: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&n);
^
user.cpp:91:55: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
for(int i=1;i<=n;i++) scanf("%ld %ld",&a[i].x,&a[i].y);
^
user.cpp:91:55: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 336kb | OK | 10 |
2 | 0ms | 336kb | OK | 10 |
3 | 4ms | 408kb | OK | 10 |
4 | 52ms | 1332kb | OK | 10 |
5 | 116ms | 1336kb | OK | 10 |
6 | 248ms | 1336kb | OK | 10 |
7 | 288ms | 1340kb | OK | 10 |
8 | 148ms | 1340kb | OK | 10 |
9 | 240ms | 1336kb | OK | 10 |
10 | 208ms | 1332kb | OK | 10 |
Punctaj total | 100 |