Pagini recente » Borderou de evaluare (job #1289199) | Borderou de evaluare (job #2207077) | Borderou de evaluare (job #2836761) | Borderou de evaluare (job #1576600) | Borderou de evaluare (job #1596330)
Borderou de evaluare (job #1596330)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:15: warning: unused variable ‘j’ [-Wunused-variable]
int n, i, j, s, t, d, k, p, ma;
^
user.cpp:20:33: warning: unused variable ‘ma’ [-Wunused-variable]
int n, i, j, s, t, d, k, p, ma;
^
user.cpp:17:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("calcule.in","r",stdin);
^
user.cpp:18:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("calcule.out","w",stdout);
^
user.cpp:23:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:25:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:32:25: warning: ‘k’ may be used uninitialized in this function [-Wmaybe-uninitialized]
else P[p] = v[i];
^
user.cpp: In function ‘int caut(int, int)’:
user.cpp:64:12: warning: ‘k’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return k;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | Incorect | 0 |
2 | 8ms | 380kb | OK | 10 |
3 | 24ms | 544kb | OK | 10 |
4 | 36ms | 628kb | OK | 10 |
5 | 36ms | 680kb | OK | 10 |
6 | 12ms | 484kb | OK | 10 |
7 | 28ms | 652kb | OK | 10 |
8 | 36ms | 748kb | OK | 10 |
9 | 36ms | 804kb | OK | 10 |
10 | 40ms | 860kb | OK | 10 |
Punctaj total | 90 |