Pagini recente » Borderou de evaluare (job #2098991) | Borderou de evaluare (job #310687) | Borderou de evaluare (job #2712167) | Borderou de evaluare (job #1895962) | Borderou de evaluare (job #2335098)
Borderou de evaluare (job #2335098)
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 | 8ms | 4194kb | OK | 10 |
| 2 | 10ms | 4194kb | OK | 10 |
| 3 | 10ms | 4194kb | OK | 10 |
| 4 | 12ms | 4325kb | OK | 10 |
| 5 | 22ms | 4587kb | OK | 10 |
| 6 | 39ms | 5373kb | OK | 10 |
| 7 | 134ms | 7208kb | OK | 10 |
| 8 | 286ms | 10223kb | OK | 10 |
| 9 | 303ms | 12713kb | Time limit exceeded | 0 |
| 10 | 252ms | 7864kb | OK | 10 |
| Punctaj total | 90 |