Pagini recente » Borderou de evaluare (job #90326) | Borderou de evaluare (job #49725) | Borderou de evaluare (job #1064337) | Borderou de evaluare (job #1192091) | Borderou de evaluare (job #1148357)
Borderou de evaluare (job #1148357)
Raport evaluator
Compilare:
user.cpp: In function ‘int search(int, int, int)’:
user.cpp:45:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (low == high)
^
user.cpp: In function ‘int main()’:
user.cpp:56:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d",&n,&m );
^
user.cpp:56:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:68:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
if (x == 0) { int poz; scanf("%d%d",&poz,&a); update(poz,a); }
^
user.cpp:70:37: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
{ scanf("%i%i",&a,&b);
^
user.cpp:70:37: warning: format ‘%i’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:72:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n",sol);
^
user.cpp: In function ‘int search(int, int, int)’:
user.cpp:50:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 372kb | Time limit exceeded. | 0 |
2 | 4ms | 400kb | Incorect | 0 |
3 | Depăşit | 392kb | Time limit exceeded. | 0 |
4 | Depăşit | 444kb | Time limit exceeded. | 0 |
5 | Depăşit | 512kb | Time limit exceeded. | 0 |
6 | Depăşit | 632kb | Time limit exceeded. | 0 |
7 | Depăşit | 700kb | Time limit exceeded. | 0 |
8 | Depăşit | 756kb | Time limit exceeded. | 0 |
9 | Depăşit | 760kb | Time limit exceeded. | 0 |
10 | Depăşit | 760kb | Time limit exceeded. | 0 |
Punctaj total | 0 |