Pagini recente » Borderou de evaluare (job #2327341) | Borderou de evaluare (job #1767019) | Borderou de evaluare (job #758057) | Borderou de evaluare (job #471328) | Borderou de evaluare (job #1723723)
Borderou de evaluare (job #1723723)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:19:15: warning: unused variable ‘k’ [-Wunused-variable]
int n, i, k, nodCopil,subArbore;
^
user.cpp: In function ‘int main()’:
user.cpp:45:18: warning: unused variable ‘j’ [-Wunused-variable]
int n, m, i, j, s, t, x, y;
^
user.cpp:45:21: warning: unused variable ‘s’ [-Wunused-variable]
int n, m, i, j, s, t, x, y;
^
user.cpp:45:24: warning: unused variable ‘t’ [-Wunused-variable]
int n, m, i, j, s, t, x, y;
^
user.cpp:42:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("asmax.in","r",stdin);
^
user.cpp:43:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("asmax.out","w",stdout);
^
user.cpp:47:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:48:55: 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",&nodVal[ i ]);
^
user.cpp:53:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 940kb | Incorect | 0 |
2 | 0ms | 464kb | Incorect | 0 |
3 | 0ms | 468kb | Incorect | 0 |
4 | 0ms | 460kb | Incorect | 0 |
5 | 0ms | 460kb | OK | 10 |
6 | 0ms | 464kb | OK | 10 |
7 | 8ms | 808kb | Incorect | 0 |
8 | 16ms | 936kb | Incorect | 0 |
9 | 16ms | 940kb | Incorect | 0 |
10 | 16ms | 940kb | Incorect | 0 |
Punctaj total | 20 |