Pagini recente » Borderou de evaluare (job #2094175) | Borderou de evaluare (job #2444618) | Borderou de evaluare (job #2529016) | Borderou de evaluare (job #921006) | Borderou de evaluare (job #1400912)
Borderou de evaluare (job #1400912)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:15:9: warning: unused variable ‘ans’ [-Wunused-variable]
int ans, i, j, l, r, num = 0;
^
user.cpp:15:17: warning: unused variable ‘j’ [-Wunused-variable]
int ans, i, j, l, r, num = 0;
^
user.cpp:15:20: warning: unused variable ‘l’ [-Wunused-variable]
int ans, i, j, l, r, num = 0;
^
user.cpp:15:23: warning: unused variable ‘r’ [-Wunused-variable]
int ans, i, j, l, r, num = 0;
^
user.cpp: In function ‘int main()’:
user.cpp:77:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("karb2.in", "r", stdin);
^
user.cpp:78:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("karb2.out", "w", stdout);
^
user.cpp:80:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &n, &k);
^
user.cpp:82:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &x);
^
user.cpp:86:31: 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 | 0ms | 1468kb | OK | 10 |
2 | 0ms | 1468kb | OK | 10 |
3 | 0ms | 1468kb | OK | 10 |
4 | 0ms | 1468kb | OK | 10 |
5 | 0ms | 1504kb | OK | 10 |
6 | 0ms | 1508kb | OK | 10 |
7 | 36ms | 2424kb | OK | 10 |
8 | 80ms | 3444kb | OK | 10 |
9 | 112ms | 4036kb | OK | 10 |
10 | 144ms | 4680kb | OK | 10 |
Punctaj total | 100 |