Pagini recente » Borderou de evaluare (job #1010490) | Borderou de evaluare (job #1314236) | Borderou de evaluare (job #2604564) | Borderou de evaluare (job #2509572) | Borderou de evaluare (job #1339791)
Borderou de evaluare (job #1339791)
Raport evaluator
Compilare:
user.cpp: In function ‘int CAUTARE_2(int)’:
user.cpp:50:6: warning: statement has no effect [-Wunused-value]
m-(i+j)/2;
^
user.cpp: In function ‘int main()’:
user.cpp:60:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,k,x,m;
^
user.cpp:60:17: warning: unused variable ‘m’ [-Wunused-variable]
int i,j,k,x,m;
^
user.cpp:57:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.in", "r", stdin);
^
user.cpp:58:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.out", "w", stdout);
^
user.cpp:62:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&N);
^
user.cpp:63:42: 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]);
^
user.cpp:65:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&M);
^
user.cpp:68:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &k, &x);
^
user.cpp: In function ‘int CAUTARE_2(int)’:
user.cpp:42:13: warning: ‘m’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int i,j,m;
^
user.cpp: In function ‘int main()’:
user.cpp:42:13: warning: ‘m’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 432kb | OK | 10 | 10 |
2 | 0ms | 436kb | OK | 10 | 10 |
3 | 0ms | 440kb | OK | 10 | 10 |
4 | 4ms | 440kb | OK | 10 | 10 |
5 | 24ms | 480kb | OK | 10 | 20 |
6 | 84ms | 636kb | OK | 10 |
7 | 120ms | 820kb | OK | 10 | 40 |
8 | 124ms | 828kb | OK | 10 |
9 | 128ms | 824kb | OK | 10 |
10 | 128ms | 820kb | OK | 10 |
Punctaj total | 100 |