Pagini recente » Borderou de evaluare (job #2038860) | Borderou de evaluare (job #1935771) | Borderou de evaluare (job #1545008) | Borderou de evaluare (job #1667343) | Borderou de evaluare (job #1962082)
Borderou de evaluare (job #1962082)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:11:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<a[nod].size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:22:36: 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:23:38: 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:24:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:26:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cost[i]);
^
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 | 16ms | 824kb | OK | 10 |
2 | 0ms | 456kb | OK | 10 |
3 | 0ms | 456kb | OK | 10 |
4 | 0ms | 456kb | OK | 10 |
5 | 0ms | 456kb | OK | 10 |
6 | 0ms | 456kb | OK | 10 |
7 | 8ms | 728kb | OK | 10 |
8 | 16ms | 820kb | OK | 10 |
9 | 16ms | 820kb | OK | 10 |
10 | 16ms | 824kb | OK | 10 |
Punctaj total | 100 |