Pagini recente » Borderou de evaluare (job #2820101) | Borderou de evaluare (job #1393763) | Borderou de evaluare (job #1349464) | Borderou de evaluare (job #214060) | Borderou de evaluare (job #1527987)
Borderou de evaluare (job #1527987)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:21: warning: unused variable ‘t’ [-Wunused-variable]
int n, i, j, s, t, d, k, ma;
^
user.cpp:28:24: warning: unused variable ‘d’ [-Wunused-variable]
int n, i, j, s, t, d, k, ma;
^
user.cpp:28:27: warning: unused variable ‘k’ [-Wunused-variable]
int n, i, j, s, t, d, k, ma;
^
user.cpp:28:30: warning: unused variable ‘ma’ [-Wunused-variable]
int n, i, j, s, t, d, k, ma;
^
user.cpp:25:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bete2.in","r",stdin);
^
user.cpp:26:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bete2.out","w",stdout);
^
user.cpp:31:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:32:48: 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]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 268kb | OK | 10 |
4 | 0ms | 272kb | OK | 10 |
5 | 120ms | 272kb | OK | 10 |
6 | 192ms | 284kb | OK | 10 |
7 | 240ms | 280kb | OK | 10 |
8 | 256ms | 284kb | OK | 10 |
9 | 288ms | 280kb | OK | 10 |
10 | 280ms | 280kb | OK | 10 |
Punctaj total | 100 |