Pagini recente » Borderou de evaluare (job #1522734) | Borderou de evaluare (job #142957) | Borderou de evaluare (job #143040) | Borderou de evaluare (job #668037) | Borderou de evaluare (job #1575132)
Borderou de evaluare (job #1575132)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nrtri.in","r",stdin);
^
user.cpp:36:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nrtri.out","w",stdout);
^
user.cpp:37:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:39:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp: In function ‘int caut(int, int, int)’:
user.cpp:30:15: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return poz-primul+1;
^
user.cpp: In function ‘int main()’:
user.cpp:30:15: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:8:16: note: ‘poz’ was declared here
int mijloc,poz;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 5 |
2 | 0ms | 260kb | OK | 5 |
3 | 0ms | 268kb | OK | 5 |
4 | 0ms | 260kb | OK | 5 |
5 | 0ms | 264kb | OK | 5 |
6 | 0ms | 260kb | OK | 5 |
7 | 0ms | 268kb | OK | 5 |
8 | 0ms | 264kb | OK | 5 |
9 | 0ms | 264kb | OK | 5 |
10 | 0ms | 260kb | OK | 5 |
11 | 0ms | 268kb | OK | 5 |
12 | 0ms | 264kb | OK | 5 |
13 | 0ms | 260kb | OK | 5 |
14 | 0ms | 260kb | OK | 5 |
15 | 4ms | 272kb | OK | 5 |
16 | 8ms | 264kb | OK | 5 |
17 | 8ms | 272kb | OK | 5 |
18 | 8ms | 268kb | OK | 5 |
19 | 12ms | 272kb | OK | 5 |
20 | 12ms | 268kb | OK | 5 |
Punctaj total | 100 |