Pagini recente » Borderou de evaluare (job #1973093) | Borderou de evaluare (job #1842770) | Borderou de evaluare (job #537104) | Borderou de evaluare (job #1144379) | Borderou de evaluare (job #2378651)
Borderou de evaluare (job #2378651)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:37:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("schi.in","r",stdin);
^
main.cpp:38:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("schi.out","w",stdout);
^
main.cpp:41:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:43:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++)scanf("%d",&v[i]);
^
main.cpp: In function 'int cautbin(int)':
main.cpp:31:8: warning: 'valoare' may be used uninitialized in this function [-Wmaybe-uninitialized]
return valoare;
^~~~~~~
main.cpp: In function 'int main()':
main.cpp:46:25: warning: 'valoare' may be used uninitialized in this function [-Wmaybe-uninitialized]
k=cautbin(v[j]); ssol[k]=j;
~~~~~~~^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 5 |
2 | 2ms | 131kb | OK | 5 |
3 | 2ms | 131kb | OK | 5 |
4 | 2ms | 131kb | OK | 5 |
5 | 2ms | 131kb | OK | 5 |
6 | 2ms | 131kb | OK | 5 |
7 | 3ms | 131kb | OK | 5 |
8 | 3ms | 131kb | OK | 5 |
9 | 4ms | 131kb | OK | 5 |
10 | 5ms | 131kb | OK | 5 |
11 | 7ms | 262kb | OK | 5 |
12 | 10ms | 262kb | OK | 5 |
13 | 13ms | 262kb | OK | 5 |
14 | 19ms | 393kb | OK | 5 |
15 | 26ms | 524kb | OK | 5 |
16 | 31ms | 524kb | OK | 5 |
17 | 33ms | 524kb | OK | 5 |
18 | 38ms | 655kb | OK | 5 |
19 | 34ms | 655kb | OK | 5 |
20 | 39ms | 655kb | OK | 5 |
Punctaj total | 100 |