Pagini recente » Borderou de evaluare (job #1776568) | Borderou de evaluare (job #2944503) | Borderou de evaluare (job #1330573) | Cod sursa (job #2647578) | Borderou de evaluare (job #1293941)
Borderou de evaluare (job #1293941)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:12:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < v[k].size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:38:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < v[1].size(); i++)
^
user.cpp:45:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < v[1].size(); i++)
^
user.cpp:44:19: warning: variable ‘ind2’ set but not used [-Wunused-but-set-variable]
int max2 = 0, ind2;
^
user.cpp:23:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("darb.in", "r", stdin);
^
user.cpp:24:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("darb.out", "w", stdout);
^
user.cpp:26:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:29:30: 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 | 1444kb | OK | 10 |
2 | 0ms | 1448kb | OK | 10 |
3 | 0ms | 1448kb | OK | 10 |
4 | 0ms | 1480kb | OK | 10 |
5 | 8ms | 1732kb | OK | 10 |
6 | 32ms | 2440kb | OK | 10 |
7 | 48ms | 2868kb | OK | 10 |
8 | 84ms | 3620kb | OK | 10 |
9 | 80ms | 8012kb | OK | 10 |
10 | 116ms | 4276kb | Incorect | 0 |
Punctaj total | 90 |