Pagini recente » Borderou de evaluare (job #2499770) | Borderou de evaluare (job #942431) | Borderou de evaluare (job #1143207) | Borderou de evaluare (job #1406472) | Borderou de evaluare (job #1607164)
Borderou de evaluare (job #1607164)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:15: warning: unused variable ‘j’ [-Wunused-variable]
int n, i, j, s, t, d, k, st, dr, ma;
^
user.cpp:19:18: warning: unused variable ‘s’ [-Wunused-variable]
int n, i, j, s, t, d, k, st, dr, ma;
^
user.cpp:19:21: warning: unused variable ‘t’ [-Wunused-variable]
int n, i, j, s, t, d, k, st, dr, ma;
^
user.cpp:19:24: warning: unused variable ‘d’ [-Wunused-variable]
int n, i, j, s, t, d, k, st, dr, ma;
^
user.cpp:16:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("vila2.in","r",stdin);
^
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("vila2.out","w",stdout);
^
user.cpp:21: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:23:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | Incorect | 0 |
2 | 0ms | 276kb | Incorect | 0 |
3 | 0ms | 308kb | Incorect | 0 |
4 | 4ms | 360kb | OK | 10 |
5 | 8ms | 384kb | Incorect | 0 |
6 | 12ms | 468kb | OK | 10 |
7 | 16ms | 544kb | OK | 10 |
8 | 12ms | 740kb | OK | 10 |
9 | 24ms | 652kb | OK | 10 |
10 | 24ms | 656kb | OK | 10 |
Punctaj total | 60 |