Pagini recente » Borderou de evaluare (job #2924425) | Borderou de evaluare (job #1353175) | Borderou de evaluare (job #188116) | Borderou de evaluare (job #2307730) | Borderou de evaluare (job #1976035)
Borderou de evaluare (job #1976035)
Raport evaluator
Compilare:
user.cpp: In function ‘int dfs1(int, int)’:
user.cpp:19:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<V[nod].size();i++)
^
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:31:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<V[nod].size();i++)
^
user.cpp:57:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<V[nod].size();i++)
^
user.cpp:30:18: warning: unused variable ‘x’ [-Wunused-variable]
int bst = -1,x,sav;
^
user.cpp: In function ‘int main()’:
user.cpp:84:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("egal.in","r",stdin);
^
user.cpp:85:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:88:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
user.cpp:94:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&val[i]);
^
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:59:26: warning: ‘sav’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (V[nod][i]!=p && V[nod][i]!=sav)
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 4ms | 4752kb | OK | 5 | 5 |
| 2 | 4ms | 4756kb | OK | 5 | 5 |
| 3 | 4ms | 4748kb | OK | 5 | 5 |
| 4 | 4ms | 4748kb | OK | 5 | 5 |
| 5 | 8ms | 4792kb | OK | 5 | 5 |
| 6 | 8ms | 4796kb | OK | 5 | 5 |
| 7 | 8ms | 4792kb | OK | 5 | 5 |
| 8 | 8ms | 4824kb | OK | 5 | 5 |
| 9 | Depăşit | 8320kb | Time limit exceeded. | 0 | 0 |
| 10 | 284ms | 7916kb | OK | 5 |
| 11 | 356ms | 7968kb | OK | 5 |
| 12 | 408ms | 10416kb | OK | 5 |
| 13 | 572ms | 10132kb | OK | 5 | 0 |
| 14 | 312ms | 8392kb | OK | 5 |
| 16 | 284ms | 8360kb | OK | 5 |
| 17 | Depăşit | 10556kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 14480kb | Time limit exceeded. | 0 | 0 |
| 18 | 564ms | 10904kb | OK | 5 |
| 19 | 500ms | 8832kb | OK | 5 |
| 20 | 424ms | 8836kb | OK | 5 |
| Punctaj total | 40 |