Pagini recente » Borderou de evaluare (job #1070850) | Borderou de evaluare (job #2528453) | Borderou de evaluare (job #2592824) | Borderou de evaluare (job #748053) | Borderou de evaluare (job #1845633)
Borderou de evaluare (job #1845633)
Raport evaluator
Compilare:
user.cpp: In function ‘int minc(int)’:
user.cpp:13:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(k=1;k<dim;k++)
^
user.cpp:14:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=k+1;j<=dim;j++)
^
user.cpp:15:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(x<a[k]+a[j]&&x>a[j]-a[k]) return minc(a[k]+a[j]);
^
user.cpp:15:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(x<a[k]+a[j]&&x>a[j]-a[k]) return minc(a[k]+a[j]);
^
user.cpp:16:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(k=1;k<=dim;k++)
^
user.cpp:17:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(a[k]==x) ok=0;
^
user.cpp: In function ‘int main()’:
user.cpp:25:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%u%u%u",&v,&n,&k);
^
user.cpp:27:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++) fscanf(f,"%u",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | Lungimi invalide in OUTPUT | 0 |
2 | 0ms | 264kb | Corect | 5 |
3 | 0ms | 256kb | Corect | 5 |
4 | 0ms | 260kb | Corect | 5 |
5 | 0ms | 264kb | Corect | 5 |
6 | 0ms | 256kb | Corect | 5 |
7 | 0ms | 260kb | Corect | 5 |
8 | 0ms | 260kb | Corect ! | 5 |
9 | 0ms | 260kb | Corect ! | 5 |
10 | 0ms | 264kb | Corect ! | 5 |
11 | 0ms | 260kb | Corect ! | 5 |
12 | 0ms | 256kb | Corect ! | 5 |
13 | 0ms | 264kb | Corect ! | 5 |
14 | 0ms | 260kb | Corect ! | 5 |
15 | 0ms | 264kb | Corect ! | 5 |
16 | 0ms | 256kb | Lungimi invalide in OUTPUT | 0 |
17 | 0ms | 256kb | Lungimi invalide in OUTPUT | 0 |
18 | 0ms | 260kb | Corect ! | 5 |
19 | 0ms | 256kb | Corect ! | 5 |
20 | 0ms | 260kb | Corect ! | 5 |
Punctaj total | 85 |