Pagini recente » Borderou de evaluare (job #2282219) | Borderou de evaluare (job #1499454) | Borderou de evaluare (job #538610) | Borderou de evaluare (job #2947520) | Borderou de evaluare (job #2335099)
Borderou de evaluare (job #2335099)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:14:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<g[nod].size(); i++){
~^~~~~~~~~~~~~~
main.cpp: In function 'void solve(int)':
main.cpp:30:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<g[nod].size(); i++)
~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:52:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<g[ii1].size(); i++)
~^~~~~~~~~~~~~~
main.cpp:57:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<g[ii2].size(); i++)
~^~~~~~~~~~~~~~
main.cpp:39:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("mvc.in", "r",stdin);
^
main.cpp:40:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("mvc.out", "w",stdout);
^
main.cpp:43:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:45:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cost[i]);
^
main.cpp:47: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 | 6ms | 3014kb | OK | 10 |
2 | 8ms | 3014kb | OK | 10 |
3 | 8ms | 3014kb | OK | 10 |
4 | 9ms | 3145kb | OK | 10 |
5 | 19ms | 3407kb | OK | 10 |
6 | 36ms | 4063kb | OK | 10 |
7 | 122ms | 5767kb | OK | 10 |
8 | 241ms | 8519kb | OK | 10 |
9 | 289ms | 11403kb | OK | 10 |
10 | 236ms | 5373kb | OK | 10 |
Punctaj total | 100 |